virsh: fix previous patch

The last patch breaks make check for two reasons. First, it reverses the
condition but leaves default level unchanged, so instead of not printing
anything but errors before the patch it now prints all debug messages by
default. Second, you forgot to change -d5 option passed to virsh in
tests/virsh-optparse to -d0; the script wants to see all debug messages.
This commit is contained in:
Jiri Denemark authored and Eric Blake committed 2011-07-14 07:14:05 -06:00
1 parent c1710ca6a0
commit f580a33ffd
2 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ for args in \
'--count 2 test' \
'--count=2 test' \
; do
virsh -d5 -c $test_url setvcpus $args >out 2>>err || fail=1
virsh -d0 -c $test_url setvcpus $args >out 2>>err || fail=1
LC_ALL=C sort out | compare - exp-out || fail=1
done
test -s err && fail=1