summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-12-15 19:12:58 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-12-15 19:16:43 +0100
commitd85fabd68cb0477f7bda4af8a528e27ed7914932 (patch)
tree48954e740dafc0b5bbb1e8578cea4e3b0898a837 /nixos/tests
parent5d67b17901ff2c9a18647bd9453c6b0d4294b875 (diff)
downloadnixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar.gz
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar.bz2
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar.lz
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar.xz
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.tar.zst
nixpkgs-d85fabd68cb0477f7bda4af8a528e27ed7914932.zip
nixos/virtualbox/hostonlyif: Fix writing to /root.
Creates unnecessary cruft in the root users home directory, which we
really don't need. Except the log, but therefore we now cat the log to
stderr and the private temporary directory is cleaned up afterwards.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/virtualbox.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix
index f23f50a2f1c..1c4765e15f1 100644
--- a/nixos/tests/virtualbox.nix
+++ b/nixos/tests/virtualbox.nix
@@ -348,6 +348,7 @@ in {
 
     subtest "privilege-escalation", sub {
       $machine->fail("test -e '/root/VirtualBox VMs'");
+      $machine->fail("test -e '/root/.config/VirtualBox'");
       $machine->succeed("test -e '/home/alice/VirtualBox VMs'");
     };