#include <stdio.h>
#ifndef REGTEST
-#include <_PDCLIB_glue.h>
+
+#include "_PDCLIB_glue.h"
#include <sys/types.h>
#include <sys/stat.h>
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
#include <stdlib.h>
#include <string.h>
int main( void )
{
+#ifndef REGTEST
/* This testdriver assumes POSIX, i.e. _PDCLIB_fd_t being int and being
incremented by one on each successful open.
*/
TESTCASE( _PDCLIB_close( fh ) == 0 );
/* Cleaning up. */
TESTCASE( remove( testfile ) == 0 );
+#endif
return TEST_RESULTS;
}
#endif
-