Subject: Re: [PATCH v5 08/14] trailer: add tests for "git interpret-trailers"

From: Junio C Hamano <[email-masked]>
Date: Thu, 06 Feb 2014 16:11:56 -0800

Christian Couder <[email-masked]> writes:

> +
> +cat >basic_message <<'EOF'
> +subject
> +
> +body
> +EOF
> +
> +cat >complex_message_body <<'EOF'
> +my subject
> +
> +my body which is long
> +and contains some special
> +chars like : = ? !
> +
> +EOF
> +
> +# We want one trailing space at the end of each line.
> +# Let's use sed to make sure that these spaces are not removed
> +# by any automatic tool.
> +sed -e 's/ Z$/ /' >complex_message_trailers <<-\EOF
> +Fixes: Z
> +Acked-by: Z
> +Reviewed-by: Z
> +Signed-off-by: Z
> +EOF

Please put things like these inside the first "setup" test.