From 0b7fdd3e1a28c6347f99f8470c9da2a67dde2b4d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 22 Jun 2025 13:10:02 +1200 Subject: [PATCH] 'Generic Commit' --- getpkg/test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/getpkg/test.sh b/getpkg/test.sh index 35c5bf2..302127e 100755 --- a/getpkg/test.sh +++ b/getpkg/test.sh @@ -521,6 +521,11 @@ EOF else print_test_result "Complete uninstall removes all components" 1 fi + + # Always cleanup test uninstall tool from server, even if test failed + if [[ "$PUBLISH_OUTPUT" =~ Published! ]]; then + $GETPKG unpublish "${TEST_UNINSTALL_TOOL}:${TEST_ARCH}" 2>/dev/null || true + fi fi # Test 14: Invalid tool name validation