Commit 693a3494 authored by Marvin Scholz's avatar Marvin Scholz
Browse files

Trying to fix tests

parent 12ffae4a
Pipeline #23 failed with stage
in 1 minute and 1 second
......@@ -37,7 +37,7 @@ function test_endpoint {
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')
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"
echo " [$res]"
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