alsa-plugins/tests/run_tests.sh
Jaroslav Kysela 2dd8d24116 Install alsa-utils in the run_tests.sh
The previous patch removed the hard alsa-utils dependency, so
the alsa-utils package must be installed manually.
2023-03-06 17:06:32 +01:00

16 lines
268 B
Bash
Executable File

#!/bin/bash
set -ex
# install speaker-test
dnf install -y alsa-utils
# 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"