From 8a12ce2cf9bb6362e380e7efaee334d82cc3c7c8 Mon Sep 17 00:00:00 2001 From: Steven Murdoch Date: Sun, 10 Oct 2010 18:12:23 +0100 Subject: Add a unit test for tor_spawn_background - Test sucessfully starting a process - Test failing to find the executable --- src/common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/util.h') diff --git a/src/common/util.h b/src/common/util.h index 86555eeb1..8c2a9be32 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -350,6 +350,8 @@ HANDLE load_windows_system_library(const TCHAR *library_name); #ifdef UTIL_PRIVATE /* Prototypes for private functions only used by util.c (and unit tests) */ +int tor_spawn_background(const char *const filename, int *stdout_read, + int *stderr_read, const char **argv); void format_helper_exit_status(unsigned char child_state, int saved_errno, char *hex_errno); -- cgit v1.2.3