changeset 8645:21f8505f12f3

FreeBSD 6.1 produces different printf output than glibc.
author Bruno Haible <bruno@clisp.org>
date Fri, 06 Apr 2007 03:44:35 +0000
parents 7cf946481cd2
children 27dec01819aa
files ChangeLog tests/test-printf-posix.h
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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.
 
--- a/tests/test-printf-posix.h
+++ b/tests/test-printf-posix.h
@@ -61,12 +61,6 @@
   /* 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);