runner.pm: set CURL_TESTNUM for precheck commands

Closes #21640
This commit is contained in:
Viktor Szakats 2026-05-16 03:38:19 +02:00
parent 5688c2a8ee
commit 40c516f941
No known key found for this signature in database

View file

@ -709,6 +709,9 @@ sub singletest_precheck {
$cmd = join(" ", @p);
}
# provide an environment variable
$ENV{'CURL_TESTNUM'} = $testnum;
my @o = `$cmd 2> $LOGDIR/precheck-$testnum`;
if($o[0]) {
$why = $o[0];