aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-25 10:38:17 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-25 10:38:17 +0100
commita1a66c7cd636a5960beaad30e961928ad27d9f5b (patch)
tree9c1f362d4f56a9851a7b8c5dd0cbb27f671418f4 /tests
parentbed30bc6dfa0d63adeabf909430515400e0b554f (diff)
s/CVS/DEV in the version string from the git repo
Diffstat (limited to 'tests')
-rwxr-xr-xtests/libtest/test1022.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/test1022.pl b/tests/libtest/test1022.pl
index a3f318abb..60eee384c 100755
--- a/tests/libtest/test1022.pl
+++ b/tests/libtest/test1022.pl
@@ -23,7 +23,7 @@ open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what l
$_ = <CURLCONFIG>;
chomp;
if ( $what eq "version" ) {
- /^libcurl ([\.\d]+(-CVS)?)$/ ;
+ /^libcurl ([\.\d]+(-DEV)?)$/ ;
$curlconfigversion = $1;
}
else {
@@ -31,8 +31,8 @@ else {
/^(..)(..)(..)$/ ;
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
- # Strip off the -CVS from the curl version if it's there
- $version =~ s/-CVS$//;
+ # Strip off the -DEV from the curl version if it's there
+ $version =~ s/-DEV$//;
}
close CURLCONFIG;