diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 12:49:32 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 12:49:32 +0900 |
| commit | 5d00805a7c775382516e05b5b01e58df651408ab (patch) | |
| tree | 898caecb5e6a642596be2144e4831698a9d048a7 /test.nix | |
| parent | 7b6052a47340d706ede8cc08b331f02de832e462 (diff) | |
nix: check acl rollback
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'test.nix')
| -rw-r--r-- | test.nix | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -173,8 +173,12 @@ nixosTest { machine.send_chars("wayland-info && touch /tmp/success-client\n") machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-client") machine.screenshot("foot_wayland_permissive") + # Verify acl on XDG_RUNTIME_DIR: + print(machine.succeed("getfacl --absolute-names --omit-header --numeric /run/user/1000 | grep 1000000")) machine.send_chars("exit\n") machine.wait_until_fails("pgrep foot") + # Verify acl cleanup on XDG_RUNTIME_DIR: + machine.wait_until_fails("getfacl --absolute-names --omit-header --numeric /run/user/1000 | grep 1000000") # Start a terminal (foot) within fortify from a terminal on workspace 4: machine.send_key("alt-4") |
