aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-04-26 08:32:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-04-26 08:32:12 +0000
commita7dc45997f61a7d984e6397d58a3b73f57b14caa (patch)
tree1de3272c0f98d63bfe6703f601d6d800e7c58f32 /tests/runtests.pl
parent583c2e2f092937d6f3978fb63130d0db9262d507 (diff)
split curl and libcurl into two strings in the initial display
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl10
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";