From: Jim Meyering Date: Wed, 14 Apr 2010 11:25:46 +0000 (+0200) Subject: schematestutils.sh: improve shell portability: avoid "echo -e" X-Git-Tag: v0.8.1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad896a1cddebad4e10c12602d975016a8271f901;p=thirdparty%2Flibvirt.git schematestutils.sh: improve shell portability: avoid "echo -e" * tests/schematestutils.sh: Use printf rather than echo -e. --- diff --git a/tests/schematestutils.sh b/tests/schematestutils.sh index f1728578ee..f2b3b50778 100644 --- a/tests/schematestutils.sh +++ b/tests/schematestutils.sh @@ -22,7 +22,7 @@ do test_result $n $(basename $(dirname $xml))"/"$(basename $xml) $ret if test "$verbose" = "1" && test $ret != 0 ; then - echo -e "$cmd\n$result" + printf '%s\n' "$cmd" "$result" fi if test "$ret" != 0 ; then f=`expr $f + 1`