Skip to content
Commit a4ea18ec authored by Lukasz Majewski's avatar Lukasz Majewski
Browse files

tst: Add test for sigtimedwait



This change adds new test to assess sigtimedwait's timeout related
functionality - the sigset_t is configured for SIGUSR1, which will
not be triggered, so sigtimedwait just waits for timeout.

To be more specific - two use cases are checked:
- if sigtimedwait times out immediately when passed struct timespec has
  zero values of tv_nsec and tv_sec.
- if sigtimedwait times out after timeout specified in passed argument

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent bff3019a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment