aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-12-08 02:53:07 +0900
committerOphestra <cat@gensokyo.uk>2025-12-08 03:13:02 +0900
commit422efcf258eb49ecd0d4de8e53adae656696ea56 (patch)
tree5abcdd8a0636567939dd94a7a7d1cd5ba180176c /test
parent104eeecf650ba52e155ff63a4d4456a6391e961f (diff)
hst: check for insecure PulseAudio enablement
This is currently still a noop, but required for #26. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test')
-rw-r--r--test/configuration.nix6
-rw-r--r--test/test.py2
2 files changed, 7 insertions, 1 deletions
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)