summaryrefslogtreecommitdiff
path: root/test/backupstorepatch
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-09-02 11:09:08 +0000
committerChris Wilson <chris+github@qwirx.com>2006-09-02 11:09:08 +0000
commit42d5d18d05c46f00bd13aa5e47f113a6aa462423 (patch)
tree61055fb34a8f5a7f7f72e12b1a249d0df443cc69 /test/backupstorepatch
parent4161b680120c04f8f4a1fe35caef64645222bb67 (diff)
(refs #3)
Use RunCommand instead of ::system to convert UNIX paths to native
Diffstat (limited to 'test/backupstorepatch')
-rw-r--r--test/backupstorepatch/testbackupstorepatch.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/backupstorepatch/testbackupstorepatch.cpp b/test/backupstorepatch/testbackupstorepatch.cpp
index fd825016..8e2fa5f6 100644
--- a/test/backupstorepatch/testbackupstorepatch.cpp
+++ b/test/backupstorepatch/testbackupstorepatch.cpp
@@ -317,7 +317,10 @@ int test(int argc, const char *argv[])
"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