diff options
Diffstat (limited to 'test/mail.test')
-rw-r--r-- | test/mail.test | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/test/mail.test b/test/mail.test index 7812752..a761175 100644 --- a/test/mail.test +++ b/test/mail.test @@ -62,29 +62,36 @@ < Aw: [patch] Fwd: Re: [patch 5/7] Fw: Subject of 5.diff < + $ cat - no-subject > patches/6.diff + < Subject: Must not expand * ? [abc] + < + + $ ls patches/ > series $ quilt mail --mbox mbox --prefix "test" --subject "This is a test" -m "Message" $ sed -nre "s/^(From [^ ]*).*/\\1/p" -e "/^Subject:/p" -e "/^To:/p" -e "/^Cc:/p" -e "/^ /p" mbox > From a@b.c - > Subject: [test 0/5] This is a test + > Subject: [test 0/6] This is a test > From a@b.c > Cc: Dummy <dummy@some.where> - > Subject: [test 1/5] Subject of 1.diff + > Subject: [test 1/6] Subject of 1.diff > From a@b.c > Cc: Dummy <dummy@some.where> - > Subject: [test 2/5] Subject of 2.diff is: split into multiple lines + > Subject: [test 2/6] Subject of 2.diff is: split into multiple lines > From a@b.c > To: "John X. Doe" <jxd@some.where> - > Subject: [test 3/5] Subject of 3.diff + > Subject: [test 3/6] Subject of 3.diff > To: John X. Doe <jxd@some.where> > From a@b.c > Cc: "Joe R. Hacker" <joe@foo.baz>, > "John X. Doe" <jxd@some.where>, > =?UTF-8?q?=C3=9C=20is=20an=20umlaut?= <used@in.german> - > Subject: [test 4/5] First paragraph used as subject of 4.diff. + > Subject: [test 4/6] First paragraph used as subject of 4.diff. > Cc: "John X. Doe" <jxd@some.where> > Cc: Ü is an umlaut <used@in.german> > From a@b.c - > Subject: [test 5/5] Subject of 5.diff + > Subject: [test 5/6] Subject of 5.diff + > From a@b.c + > Subject: [test 6/6] Must not expand * ? [abc] $ cd .. $ rm -rf d |