X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Frename.c;h=8e2d3e0bb0306daa0a541208e030a95cae38e8b0;hb=8130f23f1b48ba7fc0d22365bb38dcd396144911;hp=4a1cc850e44c1520b323cd50dbf83d27b318ccc9;hpb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;p=pdclib diff --git a/functions/stdio/rename.c b/functions/stdio/rename.c index 4a1cc85..8e2d3e0 100644 --- a/functions/stdio/rename.c +++ b/functions/stdio/rename.c @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* rename( const char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -26,7 +24,11 @@ int rename( const char * old, const char * new ) int main( void ) { +#ifndef REGTEST TESTCASE( NO_TESTDRIVER ); +#else + puts( "No testing of rename() - test driver does not know internals of system function." ); +#endif return TEST_RESULTS; }