*/
#include <stdio.h>
-#include <_PDCLIB_glue.h>
#ifndef REGTEST
+#include <_PDCLIB_glue.h>
+
#include <stdbool.h>
#include <string.h>
int main( void )
{
- FILE * fh;
- TESTCASE( ( fh = tmpfile() ) != NULL );
- TESTCASE( fwrite( "SUCCESS testing fwrite()\n", 1, 25, fh ) == 25 );
- /* TODO: Add readback test. */
- TESTCASE( fclose( fh ) == 0 );
+ /* Testing covered by fread(). */
return TEST_RESULTS;
}