Reworked scanf() testing. General cleanups.
[fw/pdclib] / functions / stdio / freopen.c
index 2d900fd510dfeab1cc26ca1ea9d046bef2b10f78..682e3c6c1e8f4eee7e1839cf6e60ba2fb7f724dd 100644 (file)
@@ -96,8 +96,8 @@ int main( void )
 
     TESTCASE( fclose( fin ) == 0 );
     TESTCASE( fclose( fout ) == 0 );
-    remove( testfile1 );
-    remove( testfile2 );
+    TESTCASE( remove( testfile1 ) == 0 );
+    TESTCASE( remove( testfile2 ) == 0 );
 
     return TEST_RESULTS;
 }