From 422efcf258eb49ecd0d4de8e53adae656696ea56 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 8 Dec 2025 02:53:07 +0900 Subject: hst: check for insecure PulseAudio enablement This is currently still a noop, but required for #26. Signed-off-by: Ophestra --- test/configuration.nix | 6 ++++++ test/test.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/configuration.nix b/test/configuration.nix index 1c3cce0d..5bc50e7c 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -133,6 +133,7 @@ wait_delay = 1; enablements = { wayland = false; + pipewire = false; pulse = false; }; }; @@ -152,6 +153,7 @@ command = "foot"; enablements = { dbus = false; + pipewire = false; pulse = false; }; }; @@ -167,6 +169,7 @@ command = "foot"; enablements = { dbus = false; + pipewire = false; pulse = false; }; }; @@ -199,6 +202,7 @@ wayland = false; x11 = true; dbus = false; + pipewire = false; pulse = false; }; }; @@ -218,6 +222,7 @@ command = "foot"; enablements = { dbus = false; + pipewire = false; pulse = false; }; }; @@ -232,6 +237,7 @@ wayland = false; x11 = false; dbus = false; + pipewire = false; pulse = false; }; }; diff --git a/test/test.py b/test/test.py index 30b4ac52..305614fa 100644 --- a/test/test.py +++ b/test/test.py @@ -225,7 +225,7 @@ wait_for_window(f"u0_a{hakurei_identity(1)}@machine") machine.send_chars("clear; pactl info && touch /var/tmp/pulse-ok\n") machine.wait_for_file("/var/tmp/pulse-ok", timeout=15) collect_state_ui("pulse_wayland") -check_state("pa-foot", {"wayland": True, "pulse": True}) +check_state("pa-foot", {"wayland": True, "pipewire": True, "pulse": True}) machine.send_chars("exit\n") machine.wait_until_fails("pgrep foot", timeout=5) -- cgit v1.3.1