From: Daniel Stenberg Date: Thu, 26 Apr 2001 08:32:12 +0000 (+0000) Subject: split curl and libcurl into two strings in the initial display X-Git-Tag: curl-7_7_3~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7dc45997f61a7d984e6397d58a3b73f57b14caa;p=curl split curl and libcurl into two strings in the initial display --- 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";