Print out shared app gids correctly
For applications that share resources across users such as forward-locked applications, print out their group name correctly. Change-Id: I06ee0b67e4325cfa415ffd7a03e301700399a66d
This commit is contained in:
@@ -68,6 +68,14 @@ TEST(getpwnam, app_id_nobody) {
|
||||
CHECK_GETPWNAM_FOR("nobody", 9999, TYPE_SYSTEM);
|
||||
}
|
||||
|
||||
TEST(getpwnam, app_id_all_a0) {
|
||||
CHECK_GETPWNAM_FOR("all_a0", 50000, TYPE_APP);
|
||||
}
|
||||
|
||||
TEST(getpwnam, app_id_u1_a40000) {
|
||||
CHECK_GETPWNAM_FOR("u1_a40000", 150000, TYPE_APP);
|
||||
}
|
||||
|
||||
TEST(getpwnam, app_id_u0_a0) {
|
||||
CHECK_GETPWNAM_FOR("u0_a0", 10000, TYPE_APP);
|
||||
}
|
||||
|
Reference in New Issue
Block a user