Update testing/test.sh
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 44s
Build-Test-Publish / build (linux/arm64) (push) Failing after 1m0s
Build-Test-Publish / create-manifest (push) Has been skipped

This commit is contained in:
j842
2025-08-17 13:50:39 +12:00
parent 4f3a25da0b
commit 58a98fff44
2 changed files with 242 additions and 0 deletions

View File

@@ -576,6 +576,30 @@ function test10() {
#------------------------------------------------------------------------------------------------
function test11() {
title "11: Testing hash_token utility"
# Check if the hash_token test script exists
local test_script="${SCRIPT_DIR}/test_hash_token.sh"
if [ ! -f "$test_script" ]; then
echo "Warning: hash_token test script not found, skipping"
return 0
fi
# Make the script executable
chmod +x "$test_script"
# Run the hash_token tests
echo "Running hash_token utility tests..."
if bash "$test_script"; then
echo "✓ hash_token utility tests passed"
else
die "hash_token utility tests failed"
fi
}
#------------------------------------------------------------------------------------------------
test0
test1
test2
@@ -588,5 +612,6 @@ test7
test8
test9
test10
test11
title "ALL TESTS PASSED"