projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
cosmetic testsuite patch
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
pwent.t
diff --git
a/t/op/pwent.t
b/t/op/pwent.t
index
788d2f2
..
ca14a99
100755
(executable)
--- a/
t/op/pwent.t
+++ b/
t/op/pwent.t
@@
-79,7
+79,11
@@
while (<PW>) {
warn "# Your $where line $. is empty.\n";
next;
}
- last if $n == $max;
+ if ($n == $max) {
+ local $/;
+ my $junk = <PW>;
+ last;
+ }
# In principle we could whine if @s != 7 but do we know enough
# of passwd file formats everywhere?
if (@s == 7) {