diff --git a/kernel_lite/process_posix/src/UidGidTest.h b/kernel_lite/process_posix/src/UidGidTest.h index 57f9d9a18e40d5ecd3f47fa944f89082594383ae..bcfea1e55d513e7a493594bc588b933f598c790a 100755 --- a/kernel_lite/process_posix/src/UidGidTest.h +++ b/kernel_lite/process_posix/src/UidGidTest.h @@ -67,6 +67,11 @@ protected: int rt = getgroups(groupNum, groupsArray); EXPECT_EQ(rt, groupNum); } + void SetUp() + { + LOG("SetUp: set gid"); + setgid(SHELL_GID); + } void TearDown() { LOG("TearDown: reset uid and gid");