From d1986f81d0a82b9f5a73a89699ff94559bb7ca16 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 1 Nov 2007 12:10:06 +0100 Subject: Adjust a seq subtest not to depend on the vagaries of floating point. * tests/misc/seq (float-3): Use 10.94 as the endpoint, not 10.95, since 10.95 was precisely in the middle of the interval, and with a %.1f format could map to either 10.9 or 11.0. Reported by Mike Frysinger --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2aece3d40..2344f28dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-11-01 Jim Meyering + Adjust a seq subtest not to depend on the vagaries of floating point. + * tests/misc/seq (float-3): Use 10.94 as the endpoint, not 10.95, + since 10.95 was precisely in the middle of the interval, and with + a %.1f format could map to either 10.9 or 11.0. + Reported by Mike Frysinger + Make the new printf-surprise test more precise. * tests/test-lib.sh (require_ulimit_): New function. * tests/misc/printf-surprise: Use ulimit -v to trigger the fixed bug, -- cgit v1.2.3-70-g09d2