Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/shm/src/
Dmain.c27 #define VALID_FLAGS (O_RDWR | O_CREAT) macro
28 #define CREATE_FLAGS VALID_FLAGS
29 #define OPEN_FLAGS (VALID_FLAGS & ~O_CREAT)
49 zassert_not_ok(shm_open(NULL, VALID_FLAGS, INVALID_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()
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()
[all …]