From a7dc45997f61a7d984e6397d58a3b73f57b14caa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 26 Apr 2001 08:32:12 +0000 Subject: split curl and libcurl into two strings in the initial display --- tests/runtests.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3