libvirt/tests/virshtestdata/vcpupin.in
Peter Krempa d8e2220c9a virshtest: Adapt 'virsh-vcpupin' test
As all cases are negative we can test them all in one virsh run.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-04-02 14:24:30 +02:00

24 lines
594 B
Plaintext
Executable File

echo Invalid syntax.
vcpupin test a 0,1
echo An out-of-range vCPU number deserves a diagnostic, too.
vcpupin test 100 0,1
echo Negative number
vcpupin test -100 0,1
echo missing argument
vcpupin test --cpulist 0,1
echo An out-of-range vCPU number when get information with live flag
vcpupin test 100 --live
echo An out-of-range vCPU number when get information without flag
vcpupin test 100
echo An out-of-range vCPU number when get information with config flag
vcpupin test 100 --config
echo An out-of-range vCPU number when get information with current flag
vcpupin test 100 --current