alsa-plugins/tests/run_tests.sh

13 lines
218 B
Bash
Raw Normal View History

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