diff options
author | Steven Murdoch <Steven.Murdoch@cl.cam.ac.uk> | 2011-08-18 18:41:23 +0100 |
---|---|---|
committer | Steven Murdoch <Steven.Murdoch@cl.cam.ac.uk> | 2011-08-18 18:41:23 +0100 |
commit | 7d015c886a3fc985ab767de01811d1591f0ac86a (patch) | |
tree | 0ebc4c18e133ac803a1c1813ec4d86bd2b4a94e5 /src/test | |
parent | 5bf9890b3b18ad98f5ac601992bc08533ce9e209 (diff) | |
download | tor-7d015c886a3fc985ab767de01811d1591f0ac86a.tar.gz tor-7d015c886a3fc985ab767de01811d1591f0ac86a.zip |
Complete logging of output from port forwarding helper
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 071fd04e87..6f875606ec 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -1408,7 +1408,7 @@ run_util_spawn_background(const char *argv[], const char *expected_out, tt_int_op(pos, ==, strlen(expected_out)); /* Check it terminated correctly */ - retval = tor_get_exit_code(process_handle); + retval = tor_get_exit_code(process_handle, 1); tt_int_op(retval, ==, expected_exit); // TODO: Make test-child exit with something other than 0 @@ -1529,7 +1529,7 @@ test_util_spawn_background_partial_read(void *ptr) #endif /* Check it terminated correctly */ - retval = tor_get_exit_code(process_handle); + retval = tor_get_exit_code(process_handle, 1); tt_int_op(retval, ==, expected_exit); // TODO: Make test-child exit with something other than 0 |