summaryrefslogtreecommitdiffhomepage
path: root/tests/webserverprocess.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-14 11:12:21 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-14 11:12:21 +0100
commit3b42785c57768e619ade198f7b4760e16288e0f3 (patch)
treee0a64115a6fea8c89629de2fdfc4ef1cc02874e9 /tests/webserverprocess.h
parentc0d9d61e3330d4f69a9547cc3d0e62970fb7427e (diff)
Added config tests, moved from BSD license to CC0
Diffstat (limited to 'tests/webserverprocess.h')
-rw-r--r--tests/webserverprocess.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/webserverprocess.h b/tests/webserverprocess.h
index 5593c70..3a4b7d6 100644
--- a/tests/webserverprocess.h
+++ b/tests/webserverprocess.h
@@ -14,8 +14,8 @@ class WebserverProcess
private:
void init(const std::string& config);
public:
- WebserverProcess(const std::string& config);
- WebserverProcess();
+ WebserverProcess(const std::string& config, bool wait_for_listener = true);
+ WebserverProcess(bool wait_for_listener = true);
~WebserverProcess();
void start();
void stop();
@@ -25,6 +25,6 @@ public:
private:
pid_t m_pid;
std::string m_config;
-
+ bool m_wait_for_listener;
}; // class WebserverProcess