From 1b6df743f6335107ee1a09c34ddcd6ab0dc02266 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 20 Apr 2011 14:11:12 -0700 Subject: Fixed test 1022 when using daily snapshots --- tests/libtest/test1022.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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"; $_ = ; chomp; -/libcurl\/([\.\d]+(-DEV)?)/; +/libcurl\/([\.\d]+((-DEV)|(-\d+))?)/; my $version = $1; close CURL; @@ -24,7 +24,7 @@ $_ = ; chomp; my $filever=$_; if ( $what eq "version" ) { - if($filever =~ /^libcurl ([\.\d]+(-DEV)?)$/) { + if($filever =~ /^libcurl ([\.\d]+((-DEV)|(-\d+))?)$/) { $curlconfigversion = $1; } else { -- cgit v1.2.3