From: Bruno Haible Date: Fri, 6 Apr 2007 03:44:35 +0000 (+0000) Subject: FreeBSD 6.1 produces different printf output than glibc. X-Git-Tag: cvs-readonly~573 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=91cb787c0822a65f08b6894a1f99eb04c16c0f22;p=gnulib.git FreeBSD 6.1 produces different printf output than glibc. --- diff --git a/ChangeLog b/ChangeLog index 559e824f6..cd0061a7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,7 @@ * tests/test-snprintf-posix.h (test_function): Likewise. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-fprintf-posix.h (test_function): Remove these tests. + * tests/test-printf-posix.h (test_function): Likewise. * tests/test-fprintf-posix.out: Update. Needed for FreeBSD 6.1. diff --git a/tests/test-printf-posix.h b/tests/test-printf-posix.h index cd79a93c3..470e025ee 100644 --- a/tests/test-printf-posix.h +++ b/tests/test-printf-posix.h @@ -61,12 +61,6 @@ test_function (int (*my_printf) (const char *, ...)) /* NaN. */ my_printf ("%a %d\n", NaN (), 33, 44, 55); - /* FLAG_ZERO with infinite number. */ - my_printf ("%010a %d\n", 1.0 / 0.0, 33, 44, 55); - - /* FLAG_ZERO with NaN. */ - my_printf ("%010a %d\n", NaN (), 33, 44, 55); - /* Test the support of the POSIX/XSI format strings with positions. */ my_printf ("%2$d %1$d\n", 33, 55);