aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-04-20 14:11:12 -0700
committerDan Fandrich <dan@coneharvesters.com>2011-04-20 14:11:12 -0700
commit1b6df743f6335107ee1a09c34ddcd6ab0dc02266 (patch)
tree669736a6b551b17bac8e0ee775f90fc145e9d4ca /tests/libtest
parentc2c89481909de99e37f4aee46c8bc1b1358a5988 (diff)
Fixed test 1022 when using daily snapshots
Diffstat (limited to 'tests/libtest')
-rwxr-xr-xtests/libtest/test1022.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/test1022.pl b/tests/libtest/test1022.pl
index 7fac00e7a..bd777a5e8 100755
--- 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 {