Searched refs:name_too_long (Results 1 – 1 of 1) sorted by relevance
163 char name_too_long[CONFIG_POSIX_SEM_NAMELEN_MAX + 2]; in ZTEST() local165 for (size_t i = 0; i < sizeof(name_too_long) - 1; i++) { in ZTEST()166 name_too_long[i] = 'a'; in ZTEST()168 name_too_long[sizeof(name_too_long) - 1] = '\0'; in ZTEST()170 sem1 = sem_open(name_too_long, 0, 0, 0); in ZTEST()171 zassert_equal(errno, ENAMETOOLONG, "\"%s\" should be longer than %d", name_too_long, in ZTEST()