summaryrefslogtreecommitdiff
path: root/tests/libtest/test1022.pl
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-08 19:38:57 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-08 19:38:57 +0100
commitbe868a0f4564dfac7342210b9194c34082c15e17 (patch)
tree636c7ecd783cb96b8a67f834c218c92fe9916269 /tests/libtest/test1022.pl
parent34636fa47e494735a5ec8b5ec7181ce6688f6f12 (diff)
downloadgnurl-be868a0f4564dfac7342210b9194c34082c15e17.tar.gz
gnurl-be868a0f4564dfac7342210b9194c34082c15e17.tar.bz2
gnurl-be868a0f4564dfac7342210b9194c34082c15e17.zip
patches to rename libcurl to libgnurl (updated for latest curl)gnurl-7_40_0-toognurl-7_40_0
Diffstat (limited to 'tests/libtest/test1022.pl')
-rwxr-xr-xtests/libtest/test1022.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libtest/test1022.pl b/tests/libtest/test1022.pl
index 377808c73..df088c314 100755
--- a/tests/libtest/test1022.pl
+++ b/tests/libtest/test1022.pl
@@ -12,6 +12,8 @@ my $what=$ARGV[2];
open(CURL, "$ARGV[1]") || die "Can't open curl --version list in $ARGV[1]\n";
$_ = <CURL>;
chomp;
+# Leave the version to contain libcurl here as we use the ../src/curl binary and
+# it is producting "libcurl" string
/libcurl\/([\.\d]+((-DEV)|(-\d+))?)/;
my $version = $1;
close CURL;
@@ -24,7 +26,7 @@ $_ = <CURLCONFIG>;
chomp;
my $filever=$_;
if ( $what eq "version" ) {
- if($filever =~ /^libcurl ([\.\d]+((-DEV)|(-\d+))?)$/) {
+ if($filever =~ /^libgnurl ([\.\d]+((-DEV)|(-\d+))?)$/) {
$curlconfigversion = $1;
}
else {