From 09ac174e4b3f8744bbc9c1763e4c2dbccd2937c7 Mon Sep 17 00:00:00 2001 From: Graham Barr Date: Tue, 27 Jul 1999 03:09:25 -0500 Subject: cosmetic testsuite patch To: Perl5 Porters Subject: 5.005_58 build Message-ID: <19990727080925.F4683@dal.asp.ti.com> p4raw-id: //depot/perl@3802 --- t/op/grent.t | 6 +++++- t/op/pwent.t | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 't/op') diff --git a/t/op/grent.t b/t/op/grent.t index c9d3797533..761d8b9cf6 100755 --- a/t/op/grent.t +++ b/t/op/grent.t @@ -77,7 +77,11 @@ while () { warn "# Your $where line $. is empty.\n"; next; } - last if $n == $max; + if ($n == $max) { + local $/; + my $junk = ; + last; + } # In principle we could whine if @s != 4 but do we know enough # of group file formats everywhere? if (@s == 4) { diff --git a/t/op/pwent.t b/t/op/pwent.t index 788d2f2701..ca14a99eec 100755 --- a/t/op/pwent.t +++ b/t/op/pwent.t @@ -79,7 +79,11 @@ while () { warn "# Your $where line $. is empty.\n"; next; } - last if $n == $max; + if ($n == $max) { + local $/; + my $junk = ; + last; + } # In principle we could whine if @s != 7 but do we know enough # of passwd file formats everywhere? if (@s == 7) { -- cgit v1.2.1