From ad896a1cddebad4e10c12602d975016a8271f901 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 14 Apr 2010 13:25:46 +0200 Subject: [PATCH] schematestutils.sh: improve shell portability: avoid "echo -e" * tests/schematestutils.sh: Use printf rather than echo -e. --- tests/schematestutils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- 2.47.2