diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-04-26 08:32:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-04-26 08:32:12 +0000 |
commit | a7dc45997f61a7d984e6397d58a3b73f57b14caa (patch) | |
tree | 1de3272c0f98d63bfe6703f601d6d800e7c58f32 /tests | |
parent | 583c2e2f092937d6f3978fb63130d0db9262d507 (diff) | |
download | curl-a7dc45997f61a7d984e6397d58a3b73f57b14caa.tar.gz |
split curl and libcurl into two strings in the initial display
Diffstat (limited to 'tests')
-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"; |