alsa-plugins/tests/run_tests.sh

16 lines
268 B
Bash
Raw Normal View History

2020-03-03 09:19:28 +00:00
#!/bin/bash
set -ex
# install speaker-test
dnf install -y alsa-utils
2020-03-03 09:19:28 +00:00
# create patest user
adduser patest
# run pulseaudio daemon
su - patest -c "pulseaudio --start --log-target=stderr"
# run pulseaudio test (null sink)
su - patest -c "speaker-test -D pulse -l 1"