Merge "init: Disable test init#StartConsole" am: 1af6ecda38 am: 74167124db am: 1b5925846c

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2313500

Change-Id: I7301a31b887f9462ee9f2ef9e9ba7d862bf0a1fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-11-23 06:33:23 +00:00 committed by Automerger Merge Worker
commit 8a547e7353

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