summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-24 21:34:13 +0100
committerSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-24 21:34:13 +0100
commit1da5081ae0cfaf52f11c0d93c42efa211ead35af (patch)
treef2626a4dc9837937fd380fdc72a9c916574f9a5d /src/test
parent50b48c3ea7b9601c1ab29f786bb0d88eb4149474 (diff)
downloadtor-1da5081ae0cfaf52f11c0d93c42efa211ead35af.tar.gz
tor-1da5081ae0cfaf52f11c0d93c42efa211ead35af.zip
Appease "make check-spaces"
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_util.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 5d3f95c8ca..cb98030ccf 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1395,7 +1395,7 @@ run_util_spawn_background(const char *argv[], const char *expected_out,
#endif
tt_int_op(process_handle.status, ==, expected_status);
-
+
/* If the process failed to start, don't bother continuing */
if (process_handle.status == -1)
return;
@@ -1405,7 +1405,7 @@ run_util_spawn_background(const char *argv[], const char *expected_out,
/* Check stdout */
pos = tor_read_all_from_process_stdout(process_handle, stdout_buf,
- sizeof(stdout_buf) - 1);
+ sizeof(stdout_buf) - 1);
tt_assert(pos >= 0);
stdout_buf[pos] = '\0';
tt_str_op(stdout_buf, ==, expected_out);
@@ -1419,7 +1419,7 @@ run_util_spawn_background(const char *argv[], const char *expected_out,
/* Check stderr */
pos = tor_read_all_from_process_stderr(process_handle, stderr_buf,
- sizeof(stderr_buf) - 1);
+ sizeof(stderr_buf) - 1);
tt_assert(pos >= 0);
stderr_buf[pos] = '\0';
tt_str_op(stderr_buf, ==, expected_err);
@@ -1469,7 +1469,8 @@ test_util_spawn_background_fail(void *ptr)
(void)ptr;
- run_util_spawn_background(argv, expected_out, expected_err, 255, expected_status);
+ run_util_spawn_background(argv, expected_out, expected_err, 255,
+ expected_status);
}
/** Helper function for testing tor_spawn_background */