aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-03-28 18:19:11 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-03-28 18:19:11 +0000
commit7f7b643c0d2a3eb972e390281fe8ca896e891e5d (patch)
tree9fe115d2f486e7593859b215f0337259ce5b45b8 /tests
parentcd2814725a0b353a3124ec6986be44e4c8a9a53e (diff)
Made the test work on perl 5.00
Diffstat (limited to 'tests')
-rwxr-xr-xtests/libtest/test1022.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/test1022.pl b/tests/libtest/test1022.pl
index 73bfc5fc3..5b16de3e0 100755
--- a/tests/libtest/test1022.pl
+++ b/tests/libtest/test1022.pl
@@ -28,7 +28,7 @@ if ( $what eq "version" ) {
}
else {
# Convert hex version to decimal for comparison's sake
- /^([[:xdigit:]]{2})([[:xdigit:]]{2})([[:xdigit:]]{2})$/ ;
+ /^(..)(..)(..)$/ ;
$curlconfigversion = hex($1) . "." . hex($2) . "." . hex($3);
# Strip off the -CVS from the curl version if it's there