diff options
-rw-r--r-- | infrastructure/buildenv-testmain-template.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp index aa12055d..8a0767e6 100644 --- a/infrastructure/buildenv-testmain-template.cpp +++ b/infrastructure/buildenv-testmain-template.cpp @@ -148,9 +148,6 @@ bool checkfilesleftopen() return true; } - // make sure syslog log file is closed, if it was opened - ::closelog(); - // Count the file descriptors open return check_filedes(true); } @@ -228,12 +225,12 @@ int main(int argc, char * const * argv) if(fulltestmode) { + // banner + BOX_NOTICE("Running test TEST_NAME in " MODE_TEXT " mode..."); + // Count open file descriptors for a very crude "files left open" test check_filedes(false); - // banner - printf("Running test TEST_NAME in " MODE_TEXT " mode...\n"); - #ifdef WIN32 // Under win32 we must initialise the Winsock library // before using sockets |