aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test1022.pl
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-08 19:38:57 +0100
committerng0 <ng0@no-reply.infotropique.org>2017-06-16 11:38:17 +0000
commit86ecd25e8bccf3084c937bd558ba98663bf142c9 (patch)
tree2e7fabfc7f8d7095b3443eade1878a27f7eda3e5 /tests/libtest/test1022.pl
parent54b636f14546d3fde9f9c67c3b32701d78563161 (diff)
downloadgnurl-63a6b023ea6cf6295a5e905138d10c5bf5830dbc.tar.gz
gnurl-63a6b023ea6cf6295a5e905138d10c5bf5830dbc.tar.bz2
gnurl-63a6b023ea6cf6295a5e905138d10c5bf5830dbc.zip
Patchset for gnURL microfork:gnurl-7.54.1gnurl-7_54_1
* Patches to rename libcurl to libgnurl by Christian * Updated for latest curl using git cherry-pick by Jeff, Florian, ng0 * Patches to fix the testsuite (deleted tests/data/test1139, renamed reference from libcurl.* to libgnurl.*) by ng0 * Added guix-gnurl.scm which can be used to build this with guix prior to installing it. (author: ng0) * Further adjustments by ng0 Signed-off-by: ng0 <ng0@no-reply.infotropique.org>
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 {