alsa-plugins/tests/run_tests.sh

13 lines
218 B
Bash
Raw Normal View History

2020-03-03 09:19:28 +00:00
#!/bin/bash
set -ex
# 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"