nixos/tests/ecryptfs: placate some commands causing many builds failure

These commands shouldn't have to be here in the first place as ecryptfs
homes should be automatically unmounted during logoff.
This commit is contained in:
obadz 2016-08-16 02:46:13 +01:00
parent 9adad8612b
commit 1759825b34

View file

@ -30,7 +30,7 @@ import ./make-test.nix ({ pkgs, ... }:
$machine->sleep(2);
# Why do I need to do this??
$machine->succeed("su alice -c ecryptfs-umount-private");
$machine->succeed("su alice -c ecryptfs-umount-private || true");
$machine->sleep(1);
$machine->fail("mount | grep ecryptfs"); # check that encrypted home is not mounted
@ -53,7 +53,7 @@ import ./make-test.nix ({ pkgs, ... }:
$machine->sleep(2);
# Why do I need to do this??
$machine->succeed("su alice -c ecryptfs-umount-private");
$machine->succeed("su alice -c ecryptfs-umount-private || true");
$machine->sleep(1);
# Check that the filesystem is not accessible