tests: show which curl tool runtests.pl is using

To help debugging when there is issue finding or running it.

Closes #11953
This commit is contained in:
Viktor Szakats 2023-09-26 11:02:08 +00:00
parent 64896fefd0
commit 7370a7c760
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -2433,6 +2433,7 @@ if(!$randseed) {
localtime(time);
# seed of the month. December 2019 becomes 201912
$randseed = ($year+1900)*100 + $mon+1;
print "Using curl: $CURL\n";
open(my $curlvh, "-|", shell_quote($CURL) . " --version 2>/dev/null") ||
die "could not get curl version!";
my @c = <$curlvh>;