mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Ensure tests work as part of distcheck
This commit is contained in:
parent
4f3a5b3ff3
commit
e14f8cbd3c
@ -1,7 +1,6 @@
|
||||
#!/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
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user