From: Junio C Hamano Date: Fri, 07 Feb 2014 00:11:56 GMT Subject: Re: [PATCH v5 08/14] trailer: add tests for "git interpret-trailers" Message-ID: In-Reply-To: <20140206202004.325.20315.chriscool@tuxfamily.org> Christian Couder 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.