Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/shm/src/
Dmain.c24 #define VALID_MODE 0666 macro
48 zassert_not_ok(shm_open(NULL, INVALID_FLAGS, VALID_MODE)); in ZTEST()
50 zassert_not_ok(shm_open(NULL, VALID_FLAGS, VALID_MODE)); in ZTEST()
51 zassert_not_ok(shm_open(INVALID_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
52 zassert_not_ok(shm_open(EMPTY_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
53 zassert_not_ok(shm_open(TOO_SHORT_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
55 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, VALID_MODE)); in ZTEST()
60 fd[0] = shm_open(VALID_SHM_PATH, VALID_FLAGS, VALID_MODE); in ZTEST()
62 VALID_MODE, errno); in ZTEST()
77 fd[i] = shm_open(VALID_SHM_PATH, i == 0 ? CREATE_FLAGS : OPEN_FLAGS, VALID_MODE); in ZTEST()
[all …]