diff --git a/getpkg/test.sh b/getpkg/test.sh index 229fa0a..1ad6b87 100755 --- a/getpkg/test.sh +++ b/getpkg/test.sh @@ -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