diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-09-24 09:13:15 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-09-24 09:16:21 +0200 |
commit | 764a767d5f263e97406c07e6341b387643e1c7ac (patch) | |
tree | e4ba6acd7ed1949abff3b57c5cc84238a27afbfc | |
parent | 3e6bb402b18c7b08e85a0468b442c40e4983ab58 (diff) |
nixos/tests/virtualbox: Destroy detectvirt VM.
I forgot to do this in da0e642. It shouldn't be a big problem but it's more clean to destroy the VM once we're done testing. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | nixos/tests/virtualbox.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index a2d33fa328b07..2b5b5a180fca3 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -413,6 +413,7 @@ in { shutdownVM_detectvirt; my $result = $machine->succeed("cat '$detectvirt_sharepath/result'"); chomp $result; + destroyVM_detectvirt; die "systemd-detect-virt returned \"$result\" instead of \"oracle\"" if $result ne "oracle"; }; |