[PATCH] tests: Update expected output of virsh-optparse

Michal Privoznik posted 1 patch 2 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/86e8f371399e8951ef915902b51809116f16c2db.1622645217.git.mprivozn@redhat.com
tests/virsh-optparse | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tests: Update expected output of virsh-optparse
Posted by Michal Privoznik 2 years, 10 months ago
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>
---

Pushed as a trivial build breaker fix.

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

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
-- 
2.31.1