summaryrefslogtreecommitdiffstats
path: root/t/002goodperl.t
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-02-29 19:34:34 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2016-02-29 19:34:34 +0100
commit86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b (patch)
tree85acb4dc08ab6ff6247c2aafca88ac7bb3acd2e0 /t/002goodperl.t
parent438d57d65626d068ca0f28de46410ebecc9a9b57 (diff)
downloadbugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.gz
bugzilla-86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b.tar.xz
Bug 1136137: Require Perl 5.14
r=dkl
Diffstat (limited to 't/002goodperl.t')
-rw-r--r--t/002goodperl.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/002goodperl.t b/t/002goodperl.t
index 7b2e74acc..400483a5a 100644
--- a/t/002goodperl.t
+++ b/t/002goodperl.t
@@ -10,7 +10,7 @@
#Bugzilla Test 2#
####GoodPerl#####
-use 5.10.1;
+use 5.14.0;
use strict;
use warnings;
@@ -88,16 +88,16 @@ foreach my $file (@testitems) {
next;
}
while (my $file_line = <FILE>) {
- $found_use_perl = 1 if $file_line =~ m/^\s*use 5.10.1/;
+ $found_use_perl = 1 if $file_line =~ m/^\s*use 5\.14\.0/;
$found_use_strict = 1 if $file_line =~ m/^\s*use strict/;
$found_use_warnings = 1 if $file_line =~ m/^\s*use warnings/;
last if ($found_use_perl && $found_use_strict && $found_use_warnings);
}
close (FILE);
if ($found_use_perl) {
- ok(1,"$file requires Perl 5.10.1");
+ ok(1,"$file requires Perl 5.14.0");
} else {
- ok(0,"$file DOES NOT require Perl 5.10.1 --WARNING");
+ ok(0,"$file DOES NOT require Perl 5.14.0 --WARNING");
}
if ($found_use_strict) {