alsa-plugins/tests/run_tests.sh
2020-03-03 10:57:43 +01:00

13 lines
218 B
Bash
Executable File

#!/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"