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:
parent
d09c0b72f2
commit
91ff31ea26
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user