'Generic Commit'
This commit is contained in:
@ -544,7 +544,7 @@ fi
|
||||
if [ -d ~/.config/getpkg ] && [ "$(find ~/.config/getpkg -name "*.json" -type f 2>/dev/null | wc -l)" -gt 0 ]; then
|
||||
echo -e "\nTest 15: Update command"
|
||||
UPDATE_ALL_OUTPUT=$(timeout 30 "$GETPKG" update 2>&1) || UPDATE_ALL_OUTPUT=""
|
||||
if [[ "$UPDATE_ALL_OUTPUT" =~ Update\ complete ]]; then
|
||||
if [[ "$UPDATE_ALL_OUTPUT" =~ Update\ Summary ]]; then
|
||||
print_test_result "Update all tools command" 0
|
||||
else
|
||||
print_test_result "Update all tools command" 1
|
||||
|
Reference in New Issue
Block a user