Home
last modified time | relevance | path

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

/openbsd/src/regress/lib/libpthread/errno/
Derrno.c64 ASSERTe(errno, == EXDEV); in act_handler()
69 ASSERTe(errno, == EXDEV); in act_handler()
75 ASSERTe(errno, == EXDEV); in act_handler()
98 ASSERTe(*t1_errno, == EXDEV); in tmain()
148 ASSERTe(*main_errno, == EBADF); in main()
149 ASSERTe(errno, == EBADF); in main()
153 ASSERTe(*main_errno, == EBADF); in main()
154 ASSERTe(errno, == EBADF); in main()
158 ASSERTe(*main_errno, == EBADF); in main()
159 ASSERTe(errno, == EBADF); in main()
[all …]
/openbsd/src/regress/lib/libpthread/poll/
Dpoll.c39 ASSERTe(write(fd, &msg, sizeof msg), == sizeof msg); in writer()
49 ASSERTe(read(fd, &buf, sizeof buf), == sizeof buf); in reader()
63 ASSERTe(poll(NULL, 0, 0), == 0); in main()
77 ASSERTe(poll(p, 2, 0), == 2); /* if 4 then bug in kernel not fixed */ in main()
94 ASSERTe(poll(p, 2, 0), == 2); /* again, old kernels had this bug */ in main()
114 ASSERTe(poll(p, 2, 0), == 1); in main()
126 ASSERTe(poll(p, 1, INFTIM), == 1); in main()
/openbsd/src/regress/lib/libpthread/pthread_mutex/
Dpthread_mutex.c101 ASSERTe(pthread_mutex_lock(mutex), == EDEADLK); in test_debug_double_lock()
112 ASSERTe(pthread_mutex_unlock(mutex), != 0); in test_debug_double_unlock()
212 ASSERTe(pthread_mutex_unlock(&mutex_recursive), != 0); in test_mutex_recursive()
251 ASSERTe(pthread_mutex_timedlock(&mutex_normal, &ts), == ETIMEDOUT); in test_mutex_normal()
/openbsd/src/regress/lib/libpthread/sigmask/
Dsigmask.c37 ASSERTe(r, == EINVAL); in main()
/openbsd/src/regress/lib/libpthread/fork/
Dfork.c103 ASSERTe(wait(&status), == child_pid); in main()
/openbsd/src/regress/lib/libpthread/select/
Dselect.c116 ASSERTe(errno, == EWOULDBLOCK || in fg_routine()
/openbsd/src/regress/lib/libpthread/setsockopt/3/
Dsetsockopt3.c40 ASSERTe(wait(&status), == child_pid); in sock_connect()
/openbsd/src/regress/lib/libpthread/include/
Dtest.h82 #define ASSERTe(x,rhs) do { \ macro
/openbsd/src/regress/lib/libpthread/setsockopt/2/
Dsetsockopt2.c100 ASSERTe(wait(&status), == child_pid); in sock_connect()