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:
parent
9adad8612b
commit
1759825b34
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue