Merge "Fix-up for change in pwd/grp ids for PRNG seeder daemon" into android13-tests-dev
This commit is contained in:
commit
d06e75b7e3
|
@ -441,6 +441,17 @@ static void expect_ids(T ids, bool is_group) {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
// AID_PRNG_SEEDER (1092) was added in TM-QPR2, but CTS is shared
|
||||
// across Android 13 versions so we may or may not find it in this
|
||||
// test (b/253185870).
|
||||
if (android::base::GetIntProperty("ro.build.version.sdk", 0) == __ANDROID_API_T__) {
|
||||
#ifndef AID_PRNG_SEEDER
|
||||
#define AID_PRNG_SEEDER 1092
|
||||
#endif
|
||||
ids.erase(AID_PRNG_SEEDER);
|
||||
expected_ids.erase(AID_PRNG_SEEDER);
|
||||
}
|
||||
EXPECT_EQ(expected_ids, ids) << return_differences();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue