summaryrefslogtreecommitdiff
path: root/test/bbackupd
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-10 16:12:01 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-10 16:12:01 +0000
commit7ee217c02aa7265f3253781b1a4eece198fb6e3d (patch)
tree18075de1884bf33f0bf99c7f135f4419a3f67cb4 /test/bbackupd
parent61af1d8fe20580d59a760f53e63cc984861e7324 (diff)
Moved SendCommands(), HUPServer(), KillServer() to lib/server/ServerCommands.h.
All of these use lib/server/WinNamedPipeStream on Win32, so they don't belong in lib/common. Made LaunchServer() work on Win32. Added constants for paths to executables, for use in tests, removing the need for #ifdefs and clumsy DIRECTORY_SEPARATORs in paths. Added terminate_bbackupd() and wait_for_operation() functions. Update unit tests to #include "ServerControl.h" if they need it. (refs #3)
Diffstat (limited to 'test/bbackupd')
-rw-r--r--test/bbackupd/testbbackupd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp
index ea96a220..a99783e8 100644
--- a/test/bbackupd/testbbackupd.cpp
+++ b/test/bbackupd/testbbackupd.cpp
@@ -51,6 +51,7 @@
#include "FileStream.h"
#include "IOStreamGetLine.h"
#include "intercept.h"
+#include "ServerControl.h"
#include "MemLeakFindOn.h"