diff options
author | Jim Meyering <meyering@redhat.com> | 2010-04-14 13:25:46 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-14 17:34:12 +0200 |
commit | ad896a1cddebad4e10c12602d975016a8271f901 (patch) | |
tree | 294d5ba53428aecb25229f49ce6dd4932f0259b7 /tests/schematestutils.sh | |
parent | virStorageBackendFileSystemMount: prefer strdup over virAsprintf (diff) | |
download | libvirt-ad896a1cddebad4e10c12602d975016a8271f901.tar.gz libvirt-ad896a1cddebad4e10c12602d975016a8271f901.tar.bz2 libvirt-ad896a1cddebad4e10c12602d975016a8271f901.zip |
schematestutils.sh: improve shell portability: avoid "echo -e"
* tests/schematestutils.sh: Use printf rather than echo -e.
Diffstat (limited to 'tests/schematestutils.sh')
-rw-r--r-- | tests/schematestutils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schematestutils.sh b/tests/schematestutils.sh index f1728578e..f2b3b5077 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` |