Commit 021c6f10 authored by Marvin Scholz's avatar Marvin Scholz
Browse files

Revert "Trying to fix tests"

This reverts commit 693a3494
parent 693a3494
Pipeline #24 failed with stage
in 1 minute and 1 second
...@@ -37,7 +37,7 @@ function test_endpoint { ...@@ -37,7 +37,7 @@ function test_endpoint {
else else
res=$(curl -m 5 -u "$3" -o /dev/null -D - "$ICECAST_BASE_URL$1" 2>/dev/null | head -n 1 | cut -d$' ' -f2- | tr -d '\r\n') res=$(curl -m 5 -u "$3" -o /dev/null -D - "$ICECAST_BASE_URL$1" 2>/dev/null | head -n 1 | cut -d$' ' -f2- | tr -d '\r\n')
fi fi
if test $(echo "$res" | cut -d$' ' -f1) -eq $2; then if test "$(echo "$res" | cut -d$' ' -f1)" -eq "$2"; then
printf " \e[92mOK\e[39m" printf " \e[92mOK\e[39m"
echo " [$res]" echo " [$res]"
else else
......
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