[Box Backup-commit] COMMIT r2111 - box/trunk/infrastructure
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 13 Mar 2008 21:48:54 +0000 (UTC)
Author: chris
Date: 2008-03-13 21:48:54 +0000 (Thu, 13 Mar 2008)
New Revision: 2111
Modified:
box/trunk/infrastructure/buildenv-testmain-template.cpp
Log:
Run daemons quietly (with -K) in tests under Windows.
Modified: box/trunk/infrastructure/buildenv-testmain-template.cpp
===================================================================
--- box/trunk/infrastructure/buildenv-testmain-template.cpp 2008-03-13 21:48:05 UTC (rev 2110)
+++ box/trunk/infrastructure/buildenv-testmain-template.cpp 2008-03-13 21:48:54 UTC (rev 2111)
@@ -57,8 +57,18 @@
int failures = 0;
int first_fail_line;
std::string first_fail_file;
-std::string bbackupd_args, bbstored_args, bbackupquery_args, test_args;
+#ifdef WIN32
+ #define QUIET_PROCESS "-K"
+#else
+ #define QUIET_PROCESS ""
+#endif
+
+std::string bbackupd_args = QUIET_PROCESS,
+ bbstored_args = QUIET_PROCESS,
+ bbackupquery_args,
+ test_args;
+
int filedes_open_at_beginning = -1;
#ifdef WIN32