aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index db3c3083f..e73e20a15 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -434,7 +434,8 @@ sub displaydata {
unlink($memdump); # remove this if there was one left
- my $version=`$CURL -V`;
+ my @version=`$CURL -V`;
+ my $version=$version[0];
chomp $version;
my $curl = $version;