From d85fabd68cb0477f7bda4af8a528e27ed7914932 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 15 Dec 2014 19:12:58 +0100 Subject: 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 --- nixos/tests/virtualbox.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/tests') 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'"); }; -- cgit 1.4.1