test: virsh-optparse: Fix expected test output with new error checking

Commit 4f4c3b1397 added code to remember errors during freeing
of domain objects. This changed the output when testing scaled numbers
parsing in virsh-optparse. Adjust the expected output.
This commit is contained in:
Peter Krempa 2017-04-13 10:10:00 +02:00
parent bdcf6e4810
commit 9d49c20653

View File

@ -212,6 +212,7 @@ compare exp-err err || fail=1
# Numeric value with invalid suffix # Numeric value with invalid suffix
cat <<\EOF > exp-err || framework_failure cat <<\EOF > exp-err || framework_failure
error: Scaled numeric value '42WB' for <size> option is malformed or out of range error: Scaled numeric value '42WB' for <size> option is malformed or out of range
error: invalid argument: unknown suffix 'WB'
EOF EOF
virsh -q -c $test_url setmaxmem test 42WB >out 2>err && fail=1 virsh -q -c $test_url setmaxmem test 42WB >out 2>err && fail=1
test -s out && fail=1 test -s out && fail=1