summaryrefslogtreecommitdiff
path: root/tests/libtest/test1022.pl
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-08 19:38:57 +0100
committerJeff Burdges <burdges@gnunet.org>2015-08-03 23:34:45 +0200
commit6ec004b727a65917c0ea5378a0b5a7a5368007d9 (patch)
tree437fe74e47058908583b89cf90e0c154df67d690 /tests/libtest/test1022.pl
parent38e07886ed2792988217a2ffa482ce3a69ca92c2 (diff)
downloadgnurl-7_43_0.tar.gz
gnurl-7_43_0.tar.bz2
gnurl-7_43_0.zip
Patches to rename libcurl to libgnurl by Christiangnurl-7_43_0
Updated for latest curl using git cherry-pick by Jeff Conflicts: Makefile.am configure.ac docs/gnurl.1 src/Makefile.am
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 {