'Generic Commit'
Some checks failed
Build-Test-Publish / build (push) Failing after 17s

This commit is contained in:
Your Name 2025-06-22 09:17:39 +12:00
parent 84c9907edc
commit a37e42884f

View File

@ -105,7 +105,7 @@ fi
# Test 2: Help command
echo -e "\nTest 2: Help command"
HELP_OUTPUT=$(timeout 3 "$GETPKG" help 2>&1) || HELP_OUTPUT=""
if [[ "$HELP_OUTPUT" =~ Usage:\ getpkg ]]; then
if [[ "$HELP_OUTPUT" =~ getpkg\ -\ Package\ manager\ for\ dropshell\ tools ]] || [[ "$HELP_OUTPUT" =~ USAGE: ]]; then
print_test_result "Help command output" 0
else
print_test_result "Help command output" 1