diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-15 14:45:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-15 14:45:09 +0900 |
| commit | 268a90f1a505a00e1eab794e9c1760fdff5592d3 (patch) | |
| tree | 5354b231bc41d7f3e10a2ffac94a3f7de660f6ea /test.nix | |
| parent | 3054527ca579c9063840c0eff1e6160d791254fe (diff) | |
app: improve WAYLAND_DISPLAY correctness
This now has identical behaviour as wayland C library.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test.nix')
| -rw-r--r-- | test.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -282,6 +282,9 @@ nixosTest { if output != "": raise Exception(f"unexpected output\n{output}") + # Verify graceful failure on bad Wayland display name: + print(machine.fail("sudo -u alice -i fortify -v run --wayland true")) + # Start fortify permissive defaults within Wayland session: fortify('-v run --wayland --dbus notify-send -a "NixOS Tests" "Test notification" "Notification from within sandbox." && touch /tmp/dbus-done') machine.wait_for_file("/tmp/dbus-done") |
