nix: check acl rollback
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
7b6052a473
commit
5d00805a7c
4
test.nix
4
test.nix
@ -173,8 +173,12 @@ nixosTest {
|
|||||||
machine.send_chars("wayland-info && touch /tmp/success-client\n")
|
machine.send_chars("wayland-info && touch /tmp/success-client\n")
|
||||||
machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-client")
|
machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-client")
|
||||||
machine.screenshot("foot_wayland_permissive")
|
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.send_chars("exit\n")
|
||||||
machine.wait_until_fails("pgrep foot")
|
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:
|
# Start a terminal (foot) within fortify from a terminal on workspace 4:
|
||||||
machine.send_key("alt-4")
|
machine.send_key("alt-4")
|
||||||
|
Loading…
Reference in New Issue
Block a user