Home
last modified time | relevance | path

Searched refs:VALID_SHM_PATH (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/posix/shm/src/
Dmain.c18 #define VALID_SHM_PATH "/foo" macro
54 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, INVALID_MODE)); in ZTEST()
55 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, VALID_MODE)); in ZTEST()
56 zassert_not_ok(shm_open(VALID_SHM_PATH, VALID_FLAGS, INVALID_MODE)); in ZTEST()
60 fd[0] = shm_open(VALID_SHM_PATH, VALID_FLAGS, VALID_MODE); in ZTEST()
61 zassert_true(fd[0] >= 0, "shm_open(%s, %x, %04o) failed: %d", VALID_SHM_PATH, VALID_FLAGS, in ZTEST()
71 ret = shm_unlink(VALID_SHM_PATH); in ZTEST()
77 fd[i] = shm_open(VALID_SHM_PATH, i == 0 ? CREATE_FLAGS : OPEN_FLAGS, VALID_MODE); in ZTEST()
78 zassert_true(fd[i] >= 0, "shm_open(%s, %x, %04o) failed: %d", VALID_SHM_PATH, in ZTEST()
81 zassert_ok(shm_unlink(VALID_SHM_PATH)); in ZTEST()
[all …]