mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
d8e2220c9a
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>
24 lines
594 B
Plaintext
Executable File
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
|