From 027b275b57d08dbb80cccfb7c8165a036276071c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 22 Nov 2022 16:29:19 -0800 Subject: [PATCH] init: Disable test init#StartConsole Bug: 260104465 Change-Id: I43a19b2451bad955d101d9ebdc3c98419d83597d Signed-off-by: Bart Van Assche --- init/init_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/init_test.cpp b/init/init_test.cpp index 0ca791ebc..7bad6fd14 100644 --- a/init/init_test.cpp +++ b/init/init_test.cpp @@ -194,6 +194,10 @@ service A something } 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