summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-25 00:42:41 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-25 00:42:41 +0000
commit31b785a3d39a2cb0723cee52091def603ba7ebd6 (patch)
tree9193a1ccea271db3e13021a65b1c33b31e4fa699
parentfb4e179a2f4440f25f379a23c0d94744d34c4f66 (diff)
Use #defined paths for executables to remove win32/unix differences.
(refs #3)
-rw-r--r--test/backupstorepatch/testbackupstorepatch.cpp8
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)
{