test: Add 4 and update 6 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 1m23s
Build-Test-Publish / build (linux/arm64) (push) Successful in 2m21s
Build-Test-Publish / create-manifest (push) Successful in 12s

This commit is contained in:
Your Name
2025-08-10 23:31:41 +12:00
parent 22d4af7ac8
commit baa215e762
10 changed files with 978 additions and 23 deletions

View File

@@ -545,6 +545,37 @@ function test9() {
#------------------------------------------------------------------------------------------------
function test10() {
title "10: Testing Input Validation"
# Use the simpler validation test that works in Docker
local test_script="test_input_validation_simple.sh"
# Fall back to full test if simple doesn't exist
if [ ! -f "$test_script" ]; then
test_script="test_input_validation.sh"
fi
# Check if validation test script exists
if [ ! -f "$test_script" ]; then
echo "Warning: No input validation test script found, skipping"
return 0
fi
# Run the input validation tests
# Use the same token that's already set
export TEST_TOKEN1="${WRITE_TOKEN}"
echo "Running input validation tests..."
if bash "${SCRIPT_DIR}/$test_script" "${HOSTURL}"; then
echo "✓ Input validation tests passed"
else
die "Input validation tests failed"
fi
}
#------------------------------------------------------------------------------------------------
test0
test1
test2
@@ -556,5 +587,6 @@ test6
test7
test8
test9
test10
title "ALL TESTS PASSED"