[libvirt] [PATCH] test: virsh-optparse: Fix expected test output with new error checking

Peter Krempa posted 1 patch 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/9d49c20653e28f0f2a90bea1f6cdf05ccbe8d6af.1492071327.git.pkrempa@redhat.com
tests/virsh-optparse | 1 +
1 file changed, 1 insertion(+)
[libvirt] [PATCH] test: virsh-optparse: Fix expected test output with new error checking
Posted by Peter Krempa 6 years, 11 months ago
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.
---
I didn't run it with VIR_TEST_RUN_EXPENSIVE. I'll look into whether that
variable still makes sense.

Pushed under the build-breaker rule.

 tests/virsh-optparse | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/virsh-optparse b/tests/virsh-optparse
index cb0f3d4f3..1aef8d8d9 100755
--- a/tests/virsh-optparse
+++ b/tests/virsh-optparse
@@ -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
-- 
2.12.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list