diff --git a/nixos/tests/ecryptfs.nix b/nixos/tests/ecryptfs.nix index f42ae1dac627..eceb25a0deac 100644 --- a/nixos/tests/ecryptfs.nix +++ b/nixos/tests/ecryptfs.nix @@ -73,6 +73,9 @@ import ./make-test.nix ({ pkgs, ... }: $machine->succeed("su alice -c 'test -f ~alice/b'"); $machine->succeed(qq%test "\$(cat ~alice/b)" = "c"%); + # Catch https://github.com/NixOS/nixpkgs/issues/16766 + $machine->succeed("su alice -c 'ls -lh ~alice/'"); + $machine->sendChars("logout\n"); ''; })