Change 14154 by jhi@alpha on 2002/01/09 19:08:15

        Subject: [PATCH] op/readdir.t (was Re: perl@14152)
        From: Nicholas Clark <[EMAIL PROTECTED]>
        Date: Wed, 9 Jan 2002 17:56:04 +0000
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

.... //depot/perl/t/op/readdir.t#13 edit

Differences ...

==== //depot/perl/t/op/readdir.t#13 (xtext) ====
Index: perl/t/op/readdir.t
--- perl/t/op/readdir.t.~1~     Wed Jan  9 12:15:05 2002
+++ perl/t/op/readdir.t Wed Jan  9 12:15:05 2002
@@ -24,7 +24,12 @@
 ## This range will have to adjust as the number of tests expands,
 ## as it's counting the number of .t files in src/t
 ##
-if (@D > 100 && @D < 120) { print "ok 2\n"; } else { print "not ok 2\n"; }
+my ($min, $max) = (115, 135);
+if (@D > $min && @D < $max) { print "ok 2\n"; }
+else {
+    printf "not ok 2 # counting op/*.t, expect $min < %d < $max files\n",
+      scalar @D;
+}
 
 @R = sort @D;
 @G = sort <op/*.t>;
End of Patch.

Reply via email to