nixos/tests/vbox: Add destroyVM for all subtests
One reason why it took me so long for debugging the test failure with systemd-detect-virt was that simple-cli has succeeded while the former has not. This now makes sure we have consistency accross all the subtests and if problems like the one in the previos commit ever show up again, we will have just the headless test succeeding and it's more obvious where the actual problem resides. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
80c2cc350c
commit
f7563efa6e
|
@ -390,6 +390,7 @@ in mapAttrs mkVBoxTest {
|
|||
$machine->sendKeys("ctrl-q");
|
||||
$machine->sleep(5);
|
||||
$machine->screenshot("gui_manager_stopped");
|
||||
destroyVM_simple;
|
||||
'';
|
||||
|
||||
simple-cli = ''
|
||||
|
@ -407,6 +408,7 @@ in mapAttrs mkVBoxTest {
|
|||
});
|
||||
|
||||
shutdownVM_simple;
|
||||
destroyVM_simple;
|
||||
'';
|
||||
|
||||
headless = ''
|
||||
|
@ -415,6 +417,7 @@ in mapAttrs mkVBoxTest {
|
|||
waitForStartup_headless;
|
||||
waitForVMBoot_headless;
|
||||
shutdownVM_headless;
|
||||
destroyVM_headless;
|
||||
'';
|
||||
|
||||
host-usb-permissions = ''
|
||||
|
|
Loading…
Reference in New Issue