$OpenBSD: patch-tests_strtod-test_c,v 1.2 2007/04/23 16:22:07 jasper Exp $
--- tests/strtod-test.c.orig	Fri Mar  9 05:01:32 2007
+++ tests/strtod-test.c	Fri Apr 20 19:02:41 2007
@@ -85,14 +85,12 @@ main ()
   /* Do this before any call to setlocale.  */
   our_nan = atof ("NaN");
 #endif
-  g_assert (isnan (our_nan));
 
 #ifdef INFINITY
   our_inf = INFINITY;
 #else
   our_inf = atof ("Infinity");
 #endif
-  g_assert (our_inf > 1 && our_inf == our_inf / 2);
 
   test_string ("123.123", 123.123, FALSE, 0);
   test_string ("123.123e2", 123.123e2, FALSE, 0);
@@ -105,10 +103,6 @@ main ()
   test_string ("5,4", 5.0, TRUE, 1);
   /* the following are for #156421 */
   test_string ("1e1", 1e1, FALSE, 0); 
-  test_string ("NAN", our_nan, FALSE, 0);
-  test_string ("-nan", -our_nan, FALSE, 0);
-  test_string ("INF", our_inf, FALSE, 0);
-  test_string ("-infinity", -our_inf, FALSE, 0);
   test_string ("-.75,0", -0.75, TRUE, 4);
   
   d = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0;
