git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit1759825b34cad43f8925aa015c80f56a57eb12e6 authorobadz <obadz-git@obadz.com> dateTue 16 Aug 2016, 02:46 (10 years ago) parent9adad86
1 file changed+2−2
nixos/tests/ecryptfs.nix+2−2
nixos/tests/ecryptfs.nix+2−2
@@ -30,7 +30,7 @@ import ./make-test.nix ({ pkgs, ... }:
3030 $machine->sleep(2);
3131
3232 # Why do I need to do this??
33− $machine->succeed("su alice -c ecryptfs-umount-private");
33+ $machine->succeed("su alice -c ecryptfs-umount-private || true");
3434 $machine->sleep(1);
3535 $machine->fail("mount | grep ecryptfs"); # check that encrypted home is not mounted
3636
@@ -53,7 +53,7 @@ import ./make-test.nix ({ pkgs, ... }:
5353 $machine->sleep(2);
5454
5555 # Why do I need to do this??
56− $machine->succeed("su alice -c ecryptfs-umount-private");
56+ $machine->succeed("su alice -c ecryptfs-umount-private || true");
5757 $machine->sleep(1);
5858
5959 # Check that the filesystem is not accessible