This commit is contained in:
parent
84c9907edc
commit
a37e42884f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user