]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schematestutils.sh: improve shell portability: avoid "echo -e"
authorJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 11:25:46 +0000 (13:25 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 14 Apr 2010 15:34:12 +0000 (17:34 +0200)
* tests/schematestutils.sh: Use printf rather than echo -e.

tests/schematestutils.sh

index f1728578ee7d016d5f66a51a10775fefdd981279..f2b3b50778aded80c9f242d34a29bd45269b2c23 100644 (file)
@@ -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`