diff tests/test-patchbomb @ 9730:732fc0e9d411

patchbomb: fix 'echo -en' bashism in test-patchbomb The echo command doesn't accept options in some shells. printf is required by the SUSv2 (Single UNIX Specification v2).
author Marti Raudsepp <marti@juffo.org>
date Fri, 06 Nov 2009 13:48:17 +0200
parents f0e99a2eac76
children b39f98be96de
line wrap: on
line diff
--- a/tests/test-patchbomb	Thu Nov 05 17:38:03 2009 -0500
+++ b/tests/test-patchbomb	Fri Nov 06 13:48:17 2009 +0200
@@ -172,7 +172,7 @@
  -c bar -s test -r 0:1 | fixheaders
 
 echo "% test multi-byte domain parsing"
-UUML=`echo -en '\xfc'`
+UUML=`printf '\374'`
 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