mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
nixos/tests/pulseaudio: add test for pacmd
Note that `pacmd` only connects to user session daemons, so we have to skip it in system wide mode.
This commit is contained in:
parent
3871f8be8d
commit
64d256ab15
@ -60,6 +60,11 @@ let
|
||||
''}
|
||||
machine.screenshot("testPlay")
|
||||
|
||||
${lib.optionalString (!systemWide) ''
|
||||
machine.send_chars("pacmd info && touch /tmp/pacmd_success\n")
|
||||
machine.wait_for_file("/tmp/pacmd_success")
|
||||
''}
|
||||
|
||||
# Pavucontrol only loads when Pulseaudio is running. If it isn't, the
|
||||
# text "Dummy Output" (sound device name) will never show.
|
||||
machine.send_chars("pavucontrol\n")
|
||||
|
Loading…
Reference in New Issue
Block a user