X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Ffreopen.c;h=682e3c6c1e8f4eee7e1839cf6e60ba2fb7f724dd;hp=2d900fd510dfeab1cc26ca1ea9d046bef2b10f78;hb=a7a8d2f1c85c2d7760d4d3479e90466cc3a81b04;hpb=afde3daa4992d49e190a6e8677e7317e0d367c59 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; }