Chromium Code Reviews| Index: util/test/multiprocess_exec_posix.cc |
| diff --git a/util/test/multiprocess_exec.cc b/util/test/multiprocess_exec_posix.cc |
| similarity index 98% |
| rename from util/test/multiprocess_exec.cc |
| rename to util/test/multiprocess_exec_posix.cc |
| index 2e725dc9effdf3a32c9d0799d46553fb7fa1ff15..69d631e0ca2179bf12d5a5ef222d20046a1b3f0c 100644 |
| --- a/util/test/multiprocess_exec.cc |
| +++ b/util/test/multiprocess_exec_posix.cc |
| @@ -72,7 +72,7 @@ void MultiprocessExec::MultiprocessChild() { |
| static_assert(STDERR_FILENO == 2, "stderr must be fd 2"); |
| // Move the read pipe to stdin. |
| - int read_fd = ReadPipeFD(); |
| + int read_fd = ReadPipeHandle(); |
|
Mark Mentovai
2015/01/28 19:58:27
FileHandle read_handle. Line 87 too.
scottmg
2015/01/28 22:14:58
Done.
|
| ASSERT_NE(read_fd, STDIN_FILENO); |
| ASSERT_NE(read_fd, STDOUT_FILENO); |
| ASSERT_EQ(STDIN_FILENO, fileno(stdin)); |
| @@ -84,7 +84,7 @@ void MultiprocessExec::MultiprocessChild() { |
| ASSERT_EQ(STDIN_FILENO, rv) << ErrnoMessage("dup2"); |
| // Move the write pipe to stdout. |
| - int write_fd = WritePipeFD(); |
| + int write_fd = WritePipeHandle(); |
| ASSERT_NE(write_fd, STDIN_FILENO); |
| ASSERT_NE(write_fd, STDOUT_FILENO); |
| ASSERT_EQ(STDOUT_FILENO, fileno(stdout)); |