Commit c78df568 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

get and use only the first line of the curl --version output

parent d13202f4
Loading
Loading
Loading
Loading
+2 −1
Changes for tests/runtests.pl: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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;