summaryrefslogtreecommitdiff
path: root/lib/common/Test.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-08-07 16:32:15 +0000
committerChris Wilson <chris+github@qwirx.com>2008-08-07 16:32:15 +0000
commita10f0006c29ae85375bd38960685d097e9726666 (patch)
tree14f2da2b9e50868279469d635329ae2fea462c6a /lib/common/Test.h
parent0a9ab08aeb2e4936ad46e1bbdf394b737dbab15d (diff)
Separate LaunchServer and WaitForServerStartup.
Diffstat (limited to 'lib/common/Test.h')
-rw-r--r--lib/common/Test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index 2e4eb6b5..64acfade 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -86,6 +86,7 @@ int RunCommand(const std::string& rCommandLine);
bool ServerIsAlive(int pid);
int ReadPidFile(const char *pidFile);
int LaunchServer(const std::string& rCommandLine, const char *pidFile);
+int WaitForServerStartup(const char *pidFile, int pidIfKnown);
#define TestRemoteProcessMemLeaks(filename) \
TestRemoteProcessMemLeaksFunc(filename, __FILE__, __LINE__)