Fix test stub for run_child_proc.
authorDavin McCall <davmac@davmac.org>
Fri, 5 Jul 2019 11:32:54 +0000 (21:32 +1000)
committerDavin McCall <davmac@davmac.org>
Fri, 5 Jul 2019 11:32:54 +0000 (21:32 +1000)
src/tests/test-run-child-proc.cc

index 0bf952cdd68972108a8cc3142caa19359815e546..ff77f51b3c805f33dea0a1cc47612f6205907071 100644 (file)
@@ -4,10 +4,7 @@
 
 // Stub out run_child_proc function, for testing purposes.
 
-void base_process_service::run_child_proc(const char * const *args, const char *working_dir,
-        const char *logfile, bool on_console, int wpipefd, int csfd, int socket_fd,
-        int notify_fd, int forced_notify_fd, const char * notify_var, uid_t uid, gid_t gid,
-        const std::vector<service_rlimits> &rlimits) noexcept
+void base_process_service::run_child_proc(run_proc_params params) noexcept
 {
 
 }