From: Michal Privoznik Date: Wed, 2 Jun 2021 14:14:57 +0000 (+0200) Subject: tests: Update expected output of virsh-optparse X-Git-Tag: v7.5.0-rc1~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86e8f371399e8951ef915902b51809116f16c2db;p=thirdparty%2Flibvirt.git tests: Update expected output of virsh-optparse In the previous commit I've changed what API is called from 'virsh setmem' command. However, since virsh-optparse test is ran only when expensive tests are enabled I've completely missed that the expected output for virsh-optparse test must be updated too as it contains the API. Signed-off-by: Michal Privoznik --- diff --git a/tests/virsh-optparse b/tests/virsh-optparse index fed71a8509..3fe38b2931 100755 --- a/tests/virsh-optparse +++ b/tests/virsh-optparse @@ -215,7 +215,7 @@ compare exp-err err || fail=1 # it has been parsed correctly cat <<\EOF > exp-err || framework_failure error: Unable to change MaxMemorySize -error: memory in virDomainSetMaxMemory must not be zero +error: memory in virDomainSetMemoryFlags must not be zero EOF $VIRSH -q -c $test_url setmaxmem test 0 >out 2>err && fail=1 test -s out && fail=1