From: Peter Krempa Date: Thu, 13 Apr 2017 08:10:00 +0000 (+0200) Subject: test: virsh-optparse: Fix expected test output with new error checking X-Git-Tag: v3.3.0-rc1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d49c20653e28f0f2a90bea1f6cdf05ccbe8d6af;p=thirdparty%2Flibvirt.git test: virsh-optparse: Fix expected test output with new error checking 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. --- diff --git a/tests/virsh-optparse b/tests/virsh-optparse index cb0f3d4f3d..1aef8d8d95 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 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