From 3a4ec61d46921406b094d6e4031ecca4dffab335 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 22 Jan 2014 23:00:49 +0400 Subject: [PATCH] test: fix after merge --- test/test-spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index 8dc18bed..5f71fce2 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -292,7 +292,7 @@ TEST_IMPL(spawn_stdout_and_stderr_to_file) { options.stdio[2].data.fd = file; options.stdio_count = 3; - r = uv_spawn(uv_default_loop(), &process, options); + r = uv_spawn(uv_default_loop(), &process, &options); ASSERT(r == 0); r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); @@ -638,7 +638,7 @@ TEST_IMPL(spawn_same_stdout_stderr) { options.stdio[1].data.stream = (uv_stream_t*)&out; options.stdio_count = 2; - r = uv_spawn(uv_default_loop(), &process, options); + r = uv_spawn(uv_default_loop(), &process, &options); ASSERT(r == 0); /* Sending signum == 0 should check if the