Commit 83a0a5f0 authored by Marvin Scholz's avatar Marvin Scholz

Merge branch 'revert-693a3494' into 'gitlab-ci'

Revert "Trying to fix tests"

See merge request !1
parents 693a3494 021c6f10
Pipeline #25 canceled with stage
......@@ -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