]> sourceware.org Git - glibc.git/commit
tst-cancel4: deal with ENOSYS errors
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 5 Jul 2020 17:21:45 +0000 (19:21 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 5 Jul 2020 17:21:45 +0000 (19:21 +0200)
commitf9cf87353772ca370b7bb901d86365a564fba49f
treeca60ce1cb7c3995ae2720994de1f1165f22e57b3
parenta3f747a912c53a172388a0a0f896cb88ca3549c8
tst-cancel4: deal with ENOSYS errors

The Hurd port doesn't have support for sigwaitinfo, sigtimedwait, and msgget
yet, so let us ignore the test for these when they return ENOSYS.

* nptl/tst-cancel4.c (tf_sigwaitinfo): Fallback on sigwait when
sigwaitinfo returns ENOSYS.
(tf_sigtimedwait): Likewise with sigtimedwait.
(tf_msgrcv, tf_msgsnd): Fallback on tf_usleep when msgget returns ENOSYS.
nptl/tst-cancel4.c
This page took 0.044208 seconds and 5 git commands to generate.