diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-18 11:36:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-18 11:36:13 +0900 |
| commit | 22d577ab49c31b0c391dba37e01926e293b0a303 (patch) | |
| tree | 7a17f64c6fe23ecf07c66596c15186110710d3a7 /test | |
| parent | 83a1c75f1ac4d2d611b3a96474ed07df3cb557b6 (diff) | |
test/sandbox: do not discard stderr getting hash
This is the first hakurei run in the test, if the container outright fails to start this is often where it happens, so throwing away the output is very unhelpful.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test')
| -rw-r--r-- | test/sandbox/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sandbox/test.py b/test/sandbox/test.py index 3f8c7e30..6ae3e145 100644 --- a/test/sandbox/test.py +++ b/test/sandbox/test.py @@ -27,7 +27,7 @@ def swaymsg(command: str = "", succeed=True, type="command"): def check_filter(check_offset, name, pname): pid = int(machine.wait_until_succeeds(f"pgrep -U {1000000+check_offset} -x {pname}", timeout=15)) - hash = machine.succeed(f"sudo -u alice -i XDG_RUNTIME_DIR=/run/user/1000 WAYLAND_DISPLAY=wayland-1 check-sandbox-{name} hash 2>/dev/null") + hash = machine.succeed(f"sudo -u alice -i XDG_RUNTIME_DIR=/run/user/1000 WAYLAND_DISPLAY=wayland-1 check-sandbox-{name} hash") print(machine.succeed(f"hakurei-test -s {hash} filter {pid}")) |
