Benchmark nit from Nicholas Clark (in OpenBSD the result could
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 12 Apr 2003 16:51:12 +0000 (16:51 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 12 Apr 2003 16:51:12 +0000 (16:51 +0000)
be a negative zero, -0).

p4raw-id: //depot/perl@19191

lib/Benchmark.t

index 60caf43..d9cb156 100644 (file)
@@ -292,8 +292,8 @@ sub check_graph_consistency {
     (my $fastslow = $fastslowt) =~ s!%!!;
     if ($slowrate < $fastrate) {
         pass ("slow rate is less than fast rate");
-        unless (ok ($slowfast < 0 && $slowfast >= -100,
-                    "slowfast should be less than zero, and >= -100")) {
+        unless (ok ($slowfast <= 0 && $slowfast >= -100,
+                    "slowfast should be less than or equal to zero, and >= -100")) {
           print STDERR "# slowfast $slowfast\n";
           $all_passed = 0;
         }