Skip StartConsole test on user builds.
It runs a service with root privilege which can't be done on user builds. Until the issue is resolved, skip the test on user builds. Bug: 262090304 Test: N/A Change-Id: I690ffbd7fdaef688a0c862e0c653e9b21e281ece
This commit is contained in:
parent
ae412804ca
commit
5b7a51a59a
1 changed files with 4 additions and 0 deletions
|
|
@ -194,6 +194,10 @@ service A something
|
|||
}
|
||||
|
||||
TEST(init, StartConsole) {
|
||||
if (GetProperty("ro.build.type", "") == "user") {
|
||||
GTEST_SKIP() << "Must run on userdebug/eng builds. b/262090304";
|
||||
return;
|
||||
}
|
||||
std::string init_script = R"init(
|
||||
service console /system/bin/sh
|
||||
class core
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue