Update testing/test.sh
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user