]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Update expected output of virsh-optparse
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Jun 2021 14:14:57 +0000 (16:14 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Jun 2021 14:43:57 +0000 (16:43 +0200)
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 <mprivozn@redhat.com>
tests/virsh-optparse

index fed71a8509ef5f824a0c77b10d65f863f0200190..3fe38b293162b4722b176bfb6c6358d7ca42132f 100755 (executable)
@@ -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