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(a)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
Show replies by date