Commit e14f8cbd authored by Marvin Scholz's avatar Marvin Scholz

Ensure tests work as part of distcheck

parent 4f3a5b3f
Pipeline #40 passed with stage
in 1 minute
#!/bin/bash
testdir=$(dirname "$0")
test -n "$testdir" && cd "$testdir" || exit
ICECAST_BASE_URL="http://localhost:8000/"
counter=1
......@@ -21,7 +20,7 @@ command -v ffmpeg >/dev/null 2>&1 || {
}
echo "# Starting Icecast"
../src/icecast -c ./icecast.xml 2> /dev/null &
../src/icecast -c "$testdir/icecast.xml" 2> /dev/null &
ICECAST_PID=$!
sleep 5
......
#!/bin/sh
../src/icecast -c ./icecast.xml 2> /dev/null &
testdir=$(dirname "$0")
../src/icecast -c "$testdir/icecast.xml" 2> /dev/null &
ICECAST_PID=$!
echo 'ok 1 - Icecast started'
sleep 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment