aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.nix
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-12-18 12:49:32 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-12-18 12:49:32 +0900
commit5d00805a7c775382516e05b5b01e58df651408ab (patch)
tree898caecb5e6a642596be2144e4831698a9d048a7 /test.nix
parent7b6052a47340d706ede8cc08b331f02de832e462 (diff)
nix: check acl rollback
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'test.nix')
-rw-r--r--test.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.nix b/test.nix
index 22f6f14a..71181491 100644
--- a/test.nix
+++ b/test.nix
@@ -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")