Ignore output to stderr while enumerating tests

Bug: http://b/114304197
Test: adb unroot && run CtsBionicTestCases
Change-Id: I75880934fa1c25be6c76e866f97efc14d5ccd0a1
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;