##// END OF EJS Templates
patchbomb: make test markers more syntax highlighter friendly
Peter Arrenbrecht -
r7357:6eb38b2d default
parent child Browse files
Show More
@@ -39,32 +39,32 b' a multiline'
39 39 description
40 40 EOF
41 41
42 echo % test bundle and description
42 echo "% test bundle and description"
43 43 hg email --date '1970-1-1 0:3' -n -f quux -t foo \
44 44 -c bar -s test -r tip -b --desc description | \
45 45 fixheaders
46 46
47 echo % utf-8 patch
47 echo "% utf-8 patch"
48 48 python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n"); fp.close();'
49 49 hg commit -A -d '4 0' -m 'charset=utf-8; content-transfer-encoding: base64'
50 50
51 echo % no mime encoding for email --test
51 echo "% no mime encoding for email --test"
52 52 hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | fixheaders > mailtest
53 echo % md5sum of 8-bit output
53 echo "% md5sum of 8-bit output"
54 54 $TESTDIR/md5sum.py mailtest
55 55 rm mailtest
56 56
57 echo % mime encoded mbox
57 echo "% mime encoded mbox"
58 58 hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -m mbox
59 59 cat mbox | fixheaders
60 60 rm mbox
61 61
62 echo % iso-8859-1 patch
62 echo "% iso-8859-1 patch"
63 63 python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
64 64 hg commit -A -d '5 0' -m 'charset=us-ascii; content-transfer-encoding: 8bit'
65 65
66 echo % fake ascii mbox
66 echo "% fake ascii mbox"
67 67 hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox
68 68 fixheaders < mbox > mboxfix
69 echo % md5sum of 8-bit output
69 echo "% md5sum of 8-bit output"
70 70 $TESTDIR/md5sum.py mboxfix
General Comments 0
You need to be logged in to leave comments. Login now