]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: optparse: Use --config with the setmaxmem command
authorErik Skultety <eskultet@redhat.com>
Thu, 25 Jul 2019 07:35:01 +0000 (09:35 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 25 Jul 2019 08:44:13 +0000 (10:44 +0200)
commitbd53501f07ae72e12602850e9800802a817438ae
tree2d9cb36090716d4df2e040d280fd53cfad96e745
parenta1c04c27bda799bb634e640f67b06f19551389e7
tests: optparse: Use --config with the setmaxmem command

The virsh-optparse test broke after commit 6ac402c456a because it
always assumed the max memory limit can be adjusted on a running domain
which used to be the case in the old code.
This is only a hot fix for the CI build. The proper fix here is to
re-write the whole test in a self-test/unit-test manner where we only
test virsh's ability to parse various values, not running actual
commands.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
tests/virsh-optparse