init: Disable test init#StartConsole
Bug: 260104465
Change-Id: I43a19b2451bad955d101d9ebdc3c98419d83597d
Signed-off-by: Bart Van Assche <bvanassche@google.com>
diff --git a/init/init_test.cpp b/init/init_test.cpp
index 0ca791e..7bad6fd 100644
--- a/init/init_test.cpp
+++ b/init/init_test.cpp
@@ -194,6 +194,10 @@
}
TEST(init, StartConsole) {
+ // Two different failures have been observed for this test: (1) No
+ // permission to open /dev/console and (2) getsid() != pid. Skip this test
+ // until these failures have been root-caused and fixed.
+ GTEST_SKIP() << "This test needs to be improved";
std::string init_script = R"init(
service console /system/bin/sh
class core