summaryrefslogtreecommitdiff
path: root/t/op/pwent.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-26 01:12:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-26 01:12:39 +0000
commit93d44f78c1da5fdda2718a5ea99f51743b3a4196 (patch)
tree91bc8237c302ae18e0b64dc00a43ffa8befeb8f2 /t/op/pwent.t
parentc4b279ffa6354fc40e4a316b235cc444b006b2e8 (diff)
downloadperl-93d44f78c1da5fdda2718a5ea99f51743b3a4196.tar.gz
Be even more relaxed (re-allow having only one entry).
p4raw-id: //depot/perl@10944
Diffstat (limited to 't/op/pwent.t')
-rwxr-xr-xt/op/pwent.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/pwent.t b/t/op/pwent.t
index 0d3c11bde6..fc71f574ad 100755
--- a/t/op/pwent.t
+++ b/t/op/pwent.t
@@ -123,7 +123,7 @@ endpwent();
print "# max = $max, n = $n, perfect = ", scalar keys %perfect, "\n";
-if (keys %perfect == 0) {
+if (keys %perfect == 0 && $n) {
$max++;
print <<EOEX;
#