]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
test: virsh-optparse: Fix expected test output with new error checking
authorPeter Krempa <pkrempa@redhat.com>
Thu, 13 Apr 2017 08:10:00 +0000 (10:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 13 Apr 2017 08:14:42 +0000 (10:14 +0200)
Commit 4f4c3b1397c4b5d16af 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.

tests/virsh-optparse

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