FreeBSD/contrib/ntp/sntp/tests/utilities.c
// Closes outputFile, and compare contents.
Closes outputFile, and compare contents.
Closes outputFile and compare contents .
void
FinishDebugTest(const char * expected,
		     const char * actual) {
	if (outputFileOpened)
		fclose(outputFile);
	FILE * e = fopen(expected,"rb");
	FILE * a = fopen(actual,"rb");
	TEST_ASSERT_NOT_NULL(e);
	TEST_ASSERT_NOT_NULL(a);
	CompareFileContent(e, a);
}
void FinishDebugTest ( const char * expected , const char * actual ) { if ( outputFileOpened ) fclose ( outputFile ) ; FILE * e = fopen ( expected , " " ) ; FILE * a = fopen ( actual , " " ) ; TEST_ASSERT_NOT_NULL ( e ) ; TEST_ASSERT_NOT_NULL ( a ) ; CompareFileContent ( e , a ) ; }
Closes outputFile, and compare contents.
Closes outputFile and compare contents .