1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00

Error early in testsuite if ffmpeg is missing

This commit is contained in:
Marvin Scholz 2018-01-14 00:15:53 +01:00
parent 294d378e26
commit 4f3a5b3ff3

View File

@ -16,6 +16,10 @@ L_USER="foo"
L_PASS="bar"
L_AUTH="$L_USER:$L_PASS"
command -v ffmpeg >/dev/null 2>&1 || {
echo >&2 "# ffmpeg required for tests not found. Aborting."; exit 1;
}
echo "# Starting Icecast"
../src/icecast -c ./icecast.xml 2> /dev/null &
ICECAST_PID=$!