projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c8948
)
Fixed test 1022 when using daily snapshots
author
Dan Fandrich
<dan@coneharvesters.com>
Wed, 20 Apr 2011 21:11:12 +0000
(14:11 -0700)
committer
Dan Fandrich
<dan@coneharvesters.com>
Wed, 20 Apr 2011 21:11:12 +0000
(14:11 -0700)
tests/libtest/test1022.pl
patch
|
blob
|
history
diff --git
a/tests/libtest/test1022.pl
b/tests/libtest/test1022.pl
index 7fac00e7aeb909470abcf7f29125690f1286c73c..bd777a5e8f1bd973d682d9b2e85b14e7b5ffc32e 100755
(executable)
--- a/
tests/libtest/test1022.pl
+++ b/
tests/libtest/test1022.pl
@@
-12,7
+12,7
@@
my $what=$ARGV[2];
open(CURL, "$ARGV[1]") || die "Can't open curl --version list in $ARGV[1]\n";
$_ = <CURL>;
chomp;
-/libcurl\/([\.\d]+(
-DEV
)?)/;
+/libcurl\/([\.\d]+(
(-DEV)|(-\d+)
)?)/;
my $version = $1;
close CURL;
@@
-24,7
+24,7
@@
$_ = <CURLCONFIG>;
chomp;
my $filever=$_;
if ( $what eq "version" ) {
- if($filever =~ /^libcurl ([\.\d]+(
-DEV
)?)$/) {
+ if($filever =~ /^libcurl ([\.\d]+(
(-DEV)|(-\d+)
)?)$/) {
$curlconfigversion = $1;
}
else {