D | signal.c | 17 sigset_t set; in ZTEST() local 19 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST() 20 set.sig[i] = -1; in ZTEST() 23 zassert_ok(sigemptyset(&set)); in ZTEST() 25 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST() 26 zassert_equal(set.sig[i], 0u, "set.sig[%d] is not empty: 0x%lx", i, set.sig[i]); in ZTEST() 32 sigset_t set = (sigset_t){0}; in ZTEST() 34 zassert_ok(sigfillset(&set)); in ZTEST() 36 for (int i = 0; i < ARRAY_SIZE(set.sig); i++) { in ZTEST() 37 zassert_equal(set.sig[i], -1, "set.sig[%d] is not filled: 0x%lx", i, set.sig[i]); in ZTEST() [all …]
|