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

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

Change-Id: Ic974fcd6d53a68b261353b4cc4202fc51ddafa73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-11-23 05:57:18 +00:00 committed by Automerger Merge Worker
commit 1b5925846c

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