diff options
-rwxr-xr-x | tests/runtests.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 7249f8b07..ff7fdbb7b 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -372,11 +372,19 @@ sub displaydata { unlink($memdump); # remove this if there was one left my $version=`$CURL -V`; + chomp $version; + + my $curl = $version; + + $curl =~ s/^(.*)(libcurl.*)/$1/g; + my $libcurl = $2; + my $hostname=`hostname`; my $hosttype=`uname -a`; print "********* System characteristics ******** \n", - "* $version", + "* $curl\n", + "* $libcurl\n", "* Host: $hostname", "* System: $hosttype"; |