Merge "Ignore output to stderr while enumerating tests"
diff --git a/tests/gtest_main.cpp b/tests/gtest_main.cpp
index ba29825..2bbd582 100644
--- a/tests/gtest_main.cpp
+++ b/tests/gtest_main.cpp
@@ -309,7 +309,6 @@
   posix_spawn_file_actions_init(&fa);
   posix_spawn_file_actions_addclose(&fa, read_fd);
   posix_spawn_file_actions_adddup2(&fa, write_fd, 1);
-  posix_spawn_file_actions_adddup2(&fa, write_fd, 2);
   posix_spawn_file_actions_addclose(&fa, write_fd);
 
   pid_t pid;