mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Suppress rm output and correct path
This commit is contained in:
parent
91ff31ea26
commit
f005aa710e
@ -165,12 +165,12 @@ echo "# Testing on-connect handling with probing"
|
|||||||
test_sourcing "on-connect-test-noauth" "test-on-connect.ogg" 401
|
test_sourcing "on-connect-test-noauth" "test-on-connect.ogg" 401
|
||||||
if [ -f "on-connect-success" ]; then
|
if [ -f "on-connect-success" ]; then
|
||||||
echo "# FAIL: on-connect triggered, even though it should not!"
|
echo "# FAIL: on-connect triggered, even though it should not!"
|
||||||
rm "on-connect-success"
|
rm "$testdir/on-connect-success" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
test_sourcing "on-connect-test-sourceauth" "test-on-connect.ogg" 200 "$AUTH_SOURCE"
|
test_sourcing "on-connect-test-sourceauth" "test-on-connect.ogg" 200 "$AUTH_SOURCE"
|
||||||
if [ -f "on-connect-success" ]; then
|
if [ -f "on-connect-success" ]; then
|
||||||
echo "# OK: on-connect triggered!"
|
echo "# OK: on-connect triggered!"
|
||||||
rm "on-connect-success"
|
rm "$testdir/on-connect-success" > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
echo "# FAIL: on-connect not triggered!"
|
echo "# FAIL: on-connect not triggered!"
|
||||||
fi
|
fi
|
||||||
@ -179,7 +179,7 @@ echo "#"
|
|||||||
echo "# All tests done, cleanup..."
|
echo "# All tests done, cleanup..."
|
||||||
echo "#"
|
echo "#"
|
||||||
|
|
||||||
rm "myauth"
|
rm "$testdir/myauth" > /dev/null 2>&1
|
||||||
|
|
||||||
if kill $SOURCE1_PID > /dev/null 2>&1; then
|
if kill $SOURCE1_PID > /dev/null 2>&1; then
|
||||||
echo "# Terminated SOURCE1"
|
echo "# Terminated SOURCE1"
|
||||||
|
Loading…
Reference in New Issue
Block a user