mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
a068dec641
The 'virsh-start' case simply tried to start an already running VM. This can be easily tested together with the tests for undefining a VM. For this test the test driver config with multiple VMs comes handy as we need to test 3 situations when we undefine and stop the VM. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
24 lines
355 B
Plaintext
24 lines
355 B
Plaintext
list --all
|
|
|
|
echo test failure when starting already running guest
|
|
start fv0
|
|
|
|
echo undefine a running domain - by domain name
|
|
dominfo fc4
|
|
undefine fc4
|
|
dominfo fc4
|
|
shutdown fc4
|
|
dominfo fc4
|
|
|
|
echo undefine a running domain - by domain id
|
|
dominfo 3
|
|
undefine 3
|
|
dominfo 3
|
|
shutdown 3
|
|
dominfo fc5
|
|
|
|
echo shutdown then undefine
|
|
shutdown fv0
|
|
undefine fv0
|
|
dominfo fv0
|