changeset 4292:b90e323a4781

Use printf(1) instead of using bash-specific shell code. Submitted by: Benoit Boissinot <bboissin@gmail.com>
author Giorgos Keramidas <keramida@ceid.upatras.gr>
date Sat, 30 Dec 2006 21:33:45 +0200
parents 35b2e02367a5
children b0140ead7f70
files tests/test-issue352
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-issue352	Mon Mar 26 23:50:04 2007 -0300
+++ b/tests/test-issue352	Sat Dec 30 21:33:45 2006 +0200
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
 # http://www.selenic.com/mercurial/bts/issue352
 
 hg init foo
 cd foo
 
-A=`echo -e -n 'he\rllo'`
+A=`printf 'he\rllo'`
 
 echo foo > "$A"
 hg add