X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fvfprintf.c;h=01c5df618cedc0021dd826ed7a4323a56b671d4c;hb=015e9131c3aa3f39b34612d0d2fce242f6deb7b4;hp=6ff56ff905a3adb538816dc85b0ac39af55ed3b6;hpb=809bf566c6c598ad234ee36d58278eb54bdd8fc6;p=pdclib.old diff --git a/functions/stdio/vfprintf.c b/functions/stdio/vfprintf.c index 6ff56ff..01c5df6 100644 --- a/functions/stdio/vfprintf.c +++ b/functions/stdio/vfprintf.c @@ -67,10 +67,11 @@ static int testprintf( FILE * stream, size_t n, const char * format, ... ) int main( void ) { FILE * buffer; - TESTCASE( ( buffer = fopen( "testfile", "wb" ) ) != NULL ); + TESTCASE( ( buffer = fopen( testfile, "wb" ) ) != NULL ); #include "printf_testcases.incl" TESTCASE( fclose( buffer ) == 0 ); #include "fprintf_reftest.incl" + TESTCASE( remove( testfile ) == 0 ); return TEST_RESULTS; }