Reworked scanf() testing. General cleanups.
[fw/pdclib] / functions / stdio / perror.c
index fc6ff87a4dc4c5ec15cd260e4270874a1057698a..bf3b3afee1c1bf0028218f657263853c0ffcc7a6 100644 (file)
@@ -44,7 +44,7 @@ int main( void )
     TESTCASE( fread( buffer, 1, 7, fh ) == 7 );
     TESTCASE( memcmp( buffer, "Test: ", 6 ) == 0 );
     TESTCASE( fclose( fh ) == 0 );
-    remove( testfile );
+    TESTCASE( remove( testfile ) == 0 );
     return TEST_RESULTS;
 }