[Box Backup-commit] COMMIT r1053 - box/chris/merge/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Oct 15 20:20:30 BST 2006


Author: chris
Date: 2006-10-15 20:20:30 +0100 (Sun, 15 Oct 2006)
New Revision: 1053

Modified:
   box/chris/merge/lib/common/Test.h
Log:
Compile fix. (refs #3)


Modified: box/chris/merge/lib/common/Test.h
===================================================================
--- box/chris/merge/lib/common/Test.h	2006-10-15 19:19:56 UTC (rev 1052)
+++ box/chris/merge/lib/common/Test.h	2006-10-15 19:20:30 UTC (rev 1053)
@@ -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