mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue