From 767f1844d222bdd5afc99868df7b5b42e7e2fad4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 15 Dec 2025 20:14:39 +0900 Subject: test: check shim private dir cleanup This asserts that no shim private dir was left behind after all containers terminate. Signed-off-by: Ophestra --- test/sandbox/test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/sandbox') 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 '{}' +") -- cgit v1.3.1