X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=682e3c6c1e8f4eee7e1839cf6e60ba2fb7f724dd;hb=33515db12d3cc5e53a8bdea58d2cde299cba2267;hp=2d900fd510dfeab1cc26ca1ea9d046bef2b10f78;hpb=cc5d73c2db0ed51fcdf0b3c80fd043a7e91d4602;p=pdclib.old diff --git a/functions/stdio/freopen.c b/functions/stdio/freopen.c index 2d900fd..682e3c6 100644 --- a/functions/stdio/freopen.c +++ b/functions/stdio/freopen.c @@ -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; }