0
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-06-30 22:18:19 -04:00

Feature: Add function for manual test results

This commit is contained in:
Marvin Scholz 2018-08-07 20:55:03 +02:00
parent d09c0b72f2
commit 91ff31ea26

View File

@ -66,6 +66,15 @@ function test_sourcing {
((counter++))
}
function manual_test_res {
if test $2 -eq 1; then
echo "ok $counter - $1"
else
echo "not ok $counter - $1"
fi
((counter++))
}
echo "#"
echo "# Testing admin/manageauth endpoint"
test_endpoint "manageauth-add-noauth" "admin/manageauth?id=4&username=$L_USER&password=$L_PASS&action=add" 401