aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/test.py
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-01 02:11:19 +0900
committerOphestra <cat@gensokyo.uk>2025-08-01 03:27:02 +0900
commit987981df7313d0a121121be36f5c8cf86ffeacd1 (patch)
tree90d342687c1da0d8d5a727faaa19786a43f3a962 /test/sandbox/test.py
parentf14e7255be2cf766a63f08e53f6e1cb48e4d17dc (diff)
test/sandbox: check pd behaviour
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/test.py')
-rw-r--r--test/sandbox/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sandbox/test.py b/test/sandbox/test.py
index f06e2b50..805d3081 100644
--- a/test/sandbox/test.py
+++ b/test/sandbox/test.py
@@ -58,12 +58,13 @@ print(machine.fail("sudo -u alice -i hakurei run umount -R /dev"))
check_offset = 0
def check_sandbox(name):
global check_offset
- check_offset += 1
swaymsg(f"exec script /dev/null -E always -qec check-sandbox-{name}")
machine.wait_for_file(f"/tmp/hakurei.1000/tmpdir/{check_offset}/sandbox-ok", timeout=15)
check_filter(check_offset, name, "hakurei-test")
+ check_offset += 1
+check_sandbox("pd")
check_sandbox("preset")
check_sandbox("tty")
check_sandbox("mapuid")