mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-11-23 06:50:00 +00:00
Signed-off-by: 马江峰 <majiangfeng7@huawei.com>
case
This commit is contained in:
parent
aeac623ef1
commit
ac7dbdebce
@ -115,7 +115,7 @@ HWTEST_F(ShmctlApiTest, ShmctlInvalidIdFailed_0003, Function | MediumTest | Leve
|
||||
key_t key = 1234;
|
||||
|
||||
int shmid = shmget(key, MEM_SIZE, 0666 | IPC_CREAT);
|
||||
EXPECT_TRUE(shmid != 0);
|
||||
EXPECT_TRUE(shmid != -1);
|
||||
|
||||
errno = 0;
|
||||
int ret = shmctl(-1, IPC_STAT, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user