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