Reworked scanf() testing. General cleanups.
[fw/pdclib] / functions / stdio / fopen.c
index 32a66a1fa13053a149e493ae779164cbbd0014d0..7c0b81a6f660f47dec76c3bd676cb943c436538e 100644 (file)
@@ -94,7 +94,7 @@ int main( void )
     TESTCASE_NOREG( fopen( testfile, "wr" ) == NULL ); /* Undefined mode */
     TESTCASE( ( fh = fopen( testfile, "w" ) ) != NULL );
     TESTCASE( fclose( fh ) == 0 );
-    remove( testfile );
+    TESTCASE( remove( testfile ) == 0 );
     return TEST_RESULTS;
 }