aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-12-15 20:14:39 +0900
committerOphestra <cat@gensokyo.uk>2025-12-15 20:30:19 +0900
commit767f1844d222bdd5afc99868df7b5b42e7e2fad4 (patch)
tree28f98342f4b21ba945c07aad8e8150834508aec4 /test/sandbox
parent54610aaddcc01e335c34087bc0c3bc1de6d23cf8 (diff)
test: check shim private dir cleanup
This asserts that no shim private dir was left behind after all containers terminate. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox')
-rw-r--r--test/sandbox/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sandbox/test.py b/test/sandbox/test.py
index 62311342..c1191483 100644
--- a/test/sandbox/test.py
+++ b/test/sandbox/test.py
@@ -79,8 +79,10 @@ check_sandbox("device")
check_sandbox("pdlike")
# Exit Sway and verify process exit status 0:
+machine.wait_until_fails("pgrep -x hakurei", timeout=5)
swaymsg("exit", succeed=False)
machine.wait_for_file("/tmp/sway-exit-ok")
# Print hakurei runDir contents:
print(machine.fail("ls /run/user/1000/hakurei"))
+machine.succeed("find /tmp -maxdepth 1 -type d -name '.hakurei-shim-*' -print -exec false '{}' +")