Reworked scanf() testing. General cleanups.
[fw/pdclib] / functions / stdio / fgets.c
index 1afd79f6ed7ed50426dadd32414d3a5c1f851df3..7d5801bb89ea2da4fd9d405135d1873a194b935d 100644 (file)
@@ -82,7 +82,7 @@ int main( void )
     TESTCASE( fgets( buffer, 2, fh ) == NULL );
     TESTCASE( feof( fh ) );
     TESTCASE( fclose( fh ) == 0 );
-    remove( testfile );
+    TESTCASE( remove( testfile ) == 0 );
     return TEST_RESULTS;
 }