diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-25 00:42:41 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-25 00:42:41 +0000 |
commit | 31b785a3d39a2cb0723cee52091def603ba7ebd6 (patch) | |
tree | 9193a1ccea271db3e13021a65b1c33b31e4fa699 /test/backupstorepatch | |
parent | fb4e179a2f4440f25f379a23c0d94744d34c4f66 (diff) |
Use #defined paths for executables to remove win32/unix differences.
(refs #3)
Diffstat (limited to 'test/backupstorepatch')
-rw-r--r-- | test/backupstorepatch/testbackupstorepatch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/backupstorepatch/testbackupstorepatch.cpp b/test/backupstorepatch/testbackupstorepatch.cpp index 6b93a3aa..4fbf296a 100644 --- a/test/backupstorepatch/testbackupstorepatch.cpp +++ b/test/backupstorepatch/testbackupstorepatch.cpp @@ -310,9 +310,8 @@ int test(int argc, const char *argv[]) "testfiles/clientTrustedCAs.pem"); // Create an account - TEST_THAT_ABORTONFAIL(RunCommand( - "../../bin/bbstoreaccounts/bbstoreaccounts " - "-c testfiles/bbstored.conf " + TEST_THAT_ABORTONFAIL(::system(BBSTOREACCOUNTS + " -c testfiles/bbstored.conf " "create 01234567 0 30000B 40000B") == 0); TestRemoteProcessMemLeaks("bbstoreaccounts.memleaks"); @@ -323,7 +322,8 @@ int test(int argc, const char *argv[]) test_depends_in_dirs(); // First, try logging in without an account having been created... just make sure login fails. - int pid = LaunchServer("../../bin/bbstored/bbstored testfiles/bbstored.conf", "testfiles/bbstored.pid"); + int pid = LaunchServer(BBSTORED " testfiles/bbstored.conf", + "testfiles/bbstored.pid"); TEST_THAT(pid != -1 && pid != 0); if(pid > 0) { |