sysprep: Make the tests run quietly.

This commit is contained in:
Richard W.M. Jones
2012-04-13 09:35:08 +01:00
parent 1f373aa246
commit 2a5a5e15e2
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ fi
# Check that multiple scripts can run.
rm -f stamp-script1.sh stamp-script2.sh
if ! ./virt-sysprep -n -a ../tests/guests/fedora.img --enable script \
if ! ./virt-sysprep -q -n -a ../tests/guests/fedora.img --enable script \
--script $abs_srcdir/script1.sh --script $abs_srcdir/script2.sh; then
echo "$0: virt-sysprep wasn't expected to exit with error."
exit 1
@@ -38,7 +38,7 @@ if [ ! -f stamp-script1.sh -o ! -f stamp-script2.sh ]; then
fi
# Check that if a script fails, virt-sysprep exits with an error.
if ./virt-sysprep -n -a ../tests/guests/fedora.img --enable script \
if ./virt-sysprep -q -n -a ../tests/guests/fedora.img --enable script \
--script $abs_srcdir/script3.sh; then
echo "$0: virt-sysprep didn't exit with an error."
exit 1

View File

@@ -28,5 +28,5 @@ fi
# to be able to sysprep any of our test guests.
for f in ../tests/guests/{debian,fedora,ubuntu,windows}.img; do
./virt-sysprep -n -a $f
./virt-sysprep -q -n -a $f
done