tests/test-patchbomb
changeset 9715 f0e99a2eac76
parent 9612 d051db8e9e44
child 9730 732fc0e9d411
--- a/tests/test-patchbomb	Thu Nov 05 11:05:13 2009 +0100
+++ b/tests/test-patchbomb	Thu Nov 05 10:49:28 2009 +0100
@@ -170,3 +170,10 @@
 echo "% test multiple flags for multiple patches"
 hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
  -c bar -s test -r 0:1 | fixheaders
+
+echo "% test multi-byte domain parsing"
+UUML=`echo -en '\xfc'`
+export HGENCODING=iso-8859-1
+hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" \
+  -s test -r 0
+cat tmp.mbox | fixheaders