[Box Backup-commit] COMMIT r1905 - box/trunk/infrastructure
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat Nov 3 19:27:18 GMT 2007
Author: chris
Date: 2007-11-03 19:27:18 +0000 (Sat, 03 Nov 2007)
New Revision: 1905
Modified:
box/trunk/infrastructure/buildenv-testmain-template.cpp
Log:
Log something before checking open file descriptors, to ensure that
the notification socket is open already on MacOS X, as it will be at
the end of the test because you can't close it.
Modified: box/trunk/infrastructure/buildenv-testmain-template.cpp
===================================================================
--- box/trunk/infrastructure/buildenv-testmain-template.cpp 2007-11-03 19:25:49 UTC (rev 1904)
+++ box/trunk/infrastructure/buildenv-testmain-template.cpp 2007-11-03 19:27:18 UTC (rev 1905)
@@ -148,9 +148,6 @@
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 @@
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
More information about the Boxbackup-commit
mailing list