mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
schematestutils.sh: improve shell portability: avoid "echo -e"
* tests/schematestutils.sh: Use printf rather than echo -e.
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user