X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fperror.c;h=bf3b3afee1c1bf0028218f657263853c0ffcc7a6;hp=fc6ff87a4dc4c5ec15cd260e4270874a1057698a;hb=a7a8d2f1c85c2d7760d4d3479e90466cc3a81b04;hpb=afde3daa4992d49e190a6e8677e7317e0d367c59 diff --git a/functions/stdio/perror.c b/functions/stdio/perror.c index fc6ff87..bf3b3af 100644 --- a/functions/stdio/perror.c +++ b/functions/stdio/perror.c @@ -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; }