projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3d9caab
)
Ignore backup files in strict.t and warning.t
Chip Salzenberg [Wed, 15 Jan 1997 03:42:51 +0000 (15:42 +1200)]
t/pragma/strict.t
patch
|
blob
|
blame
|
history
t/pragma/warning.t
patch
|
blob
|
blame
|
history
diff --git
a/t/pragma/strict.t
b/t/pragma/strict.t
index
0ff849e
..
7585697
100755
(executable)
--- a/
t/pragma/strict.t
+++ b/
t/pragma/strict.t
@@
-18,6
+18,8
@@
my @prgs = () ;
foreach (sort glob("pragma/strict-*")) {
+ next if /(~|\.orig)$/;
+
open F, "<$_" or die "Cannot open $_: $!\n" ;
while (<F>) {
last if /^__END__/ ;
diff --git
a/t/pragma/warning.t
b/t/pragma/warning.t
index
3cb5c73
..
3bb70e3
100755
(executable)
--- a/
t/pragma/warning.t
+++ b/
t/pragma/warning.t
@@
-18,6
+18,8
@@
my @prgs = () ;
foreach (sort glob("pragma/warn-*")) {
+ next if /(~|\.orig)$/;
+
open F, "<$_" or die "Cannot open $_: $!\n" ;
while (<F>) {
last if /^__END__/ ;