GHA/windows: disable taskkill in torture jobs

As an experiment.

Also:
- processhelp.pm: log when `taskkill` is force-skipped.

Ref: #21035

Follow-up to f450f3801b #19897
Follow-up to 2701ac6a4d #19421

Closes #21039
This commit is contained in:
Viktor Szakats 2026-03-20 19:00:44 +01:00
parent 708b3f8b4e
commit 208b87744e
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View file

@ -431,6 +431,7 @@ jobs:
fi
if [[ "${TFLAGS}" = *'-t'* ]]; then
TFLAGS+=' !2300' # Leaks memory and file handle via tool_doswin.c / win32_stdin_read_thread()
export CURL_TEST_NO_TASKKILL=1 # experiment to see if it reduces flaky failures
fi
fi
if [ -x "$(cygpath "${SYSTEMROOT}/System32/curl.exe")" ]; then

View file

@ -192,6 +192,9 @@ sub pidterm {
print "Executing: '$cmd'\n";
system($cmd);
}
else {
print "taskkill disabled via CURL_TEST_NO_TASKKILL.\n";
}
}
return;
}
@ -240,6 +243,9 @@ sub pidkill {
print "Executing: '$cmd'\n";
system($cmd);
}
else {
print "taskkill disabled via CURL_TEST_NO_TASKKILL.\n";
}
}
return;
}