[Box Backup-commit] COMMIT r938 - box/chris/merge/test/backupstorepatch

subversion at fluffy.co.uk subversion at fluffy.co.uk
Sat Sep 2 12:09:08 BST 2006


Author: chris
Date: 2006-09-02 12:09:08 +0100 (Sat, 02 Sep 2006)
New Revision: 938

Modified:
   box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp
Log:
(refs #3)

Use RunCommand instead of ::system to convert UNIX paths to native


Modified: box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp
===================================================================
--- box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp	2006-09-02 11:07:17 UTC (rev 937)
+++ box/chris/merge/test/backupstorepatch/testbackupstorepatch.cpp	2006-09-02 11:09:08 UTC (rev 938)
@@ -317,7 +317,10 @@
 			"testfiles/clientTrustedCAs.pem");
 
 	// Create an account
-	TEST_THAT_ABORTONFAIL(::system("../../bin/bbstoreaccounts/bbstoreaccounts -c testfiles/bbstored.conf create 01234567 0 30000B 40000B") == 0);
+	TEST_THAT_ABORTONFAIL(RunCommand(
+		"../../bin/bbstoreaccounts/bbstoreaccounts "
+		"-c testfiles/bbstored.conf "
+		"create 01234567 0 30000B 40000B") == 0);
 	TestRemoteProcessMemLeaks("bbstoreaccounts.memleaks");
 
 	// Create test files




More information about the Boxbackup-commit mailing list