OSDN Git Service

Re-enable the strchrnul and rawmemchr tests
authorEric Andersen <andersen@codepoet.org>
Fri, 8 Nov 2002 19:34:22 +0000 (19:34 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 8 Nov 2002 19:34:22 +0000 (19:34 -0000)
test/string/string.c

index 7095300..ab041e6 100644 (file)
@@ -451,7 +451,6 @@ test_strchr (void)
    }
 }
 
-#if 0
 static void
 test_strchrnul (void)
 {
@@ -512,7 +511,6 @@ test_rawmemchr (void)
       }
    }
 }
-#endif
 
 static void
 test_index (void)
@@ -1334,13 +1332,11 @@ main (void)
   /* strchr.  */
   test_strchr ();
 
-#if 0
   /* strchrnul.  */
   test_strchrnul ();
 
   /* rawmemchr.  */
   test_rawmemchr ();
-#endif
 
   /* index - just like strchr.  */
   test_index ();