Mercurial > hg
changeset 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 | aa9ccab5af37 |
children | 0e080d519d1b |
files | tests/test-patchbomb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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