X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Frename.c;h=08f08742a2f40c2e2bc63972a397dbb425f984a9;hp=23f56d81fb8e2e8dfbc94e2dc9959d3fbba1288f;hb=2b793d7f6e3a8e37229e761ef4c92961bd0f686a;hpb=5596d52a975696c29adc741ac1cdb49fb7315d73 diff --git a/platform/example/functions/_PDCLIB/rename.c b/platform/example/functions/_PDCLIB/rename.c index 23f56d8..08f0874 100644 --- a/platform/example/functions/_PDCLIB/rename.c +++ b/platform/example/functions/_PDCLIB/rename.c @@ -96,6 +96,7 @@ int _PDCLIB_rename( const char * old, const char * new ) int main( void ) { +#ifndef REGTEST FILE * file; remove( testfile1 ); remove( testfile2 ); @@ -131,6 +132,7 @@ int main( void ) /* remove both files */ remove( testfile1 ); remove( testfile2 ); +#endif return TEST_RESULTS; }