init: Disable test init#StartConsole

Bug: 260104465
Change-Id: I43a19b2451bad955d101d9ebdc3c98419d83597d
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Bart Van Assche 2022-11-22 16:29:19 -08:00
parent fb9b7de413
commit 027b275b57
1 changed files with 4 additions and 0 deletions

View File

@ -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