diff --git a/test/test-spawn.c b/test/test-spawn.c index fc54b4f9..9fb9e573 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -290,7 +290,7 @@ TEST_IMPL(spawn_stdout_and_stderr_to_file) { init_process_options("spawn_helper6", exit_cb); r = uv_fs_open(uv_default_loop(), &fs_req, "stdout_file", O_CREAT | O_RDWR, - S_IREAD | S_IWRITE, NULL); + S_IRUSR | S_IWUSR, NULL); ASSERT(r != -1); uv_fs_req_cleanup(&fs_req);