[Box Backup-commit] COMMIT r1139 - box/trunk/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Oct 27 22:34:36 BST 2006


Author: chris
Date: 2006-10-27 22:34:36 +0100 (Fri, 27 Oct 2006)
New Revision: 1139

Modified:
   box/trunk/lib/common/Test.h
Log:
Fix compile error (checked in directly since I broke the trunk, sorry!)


Modified: box/trunk/lib/common/Test.h
===================================================================
--- box/trunk/lib/common/Test.h	2006-10-27 19:46:43 UTC (rev 1138)
+++ box/trunk/lib/common/Test.h	2006-10-27 21:34:36 UTC (rev 1139)
@@ -108,7 +108,7 @@
 {
 	if(RunCommand(pCommandLine) != 0)
 	{
-		printf("Server: %s\n", command.c_str());
+		printf("Server: %s\n", pCommandLine);
 		TEST_FAIL_WITH_MESSAGE("Couldn't start server");
 		return -1;
 	}
@@ -118,7 +118,7 @@
 	// read pid file
 	if(!TestFileExists(pidFile))
 	{
-		printf("Server: %s\n", command.c_str());
+		printf("Server: %s\n", pCommandLine);
 		TEST_FAIL_WITH_MESSAGE("Server didn't save PID file");	
 		return -1;
 	}
@@ -127,7 +127,7 @@
 	int pid = -1;
 	if(f == NULL || fscanf(f, "%d", &pid) != 1)
 	{
-		printf("Server: %s (pidfile %s)\n", command.c_str(), pidFile);
+		printf("Server: %s (pidfile %s)\n", pCommandLine, pidFile);
 		TEST_FAIL_WITH_MESSAGE("Couldn't read PID file");	
 		return -1;
 	}




More information about the Boxbackup-commit mailing list