diff options
author | Lukasz Majewski <lukma@denx.de> | 2021-03-13 23:34:21 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2021-03-23 12:23:33 +0100 |
commit | bff3019afc77eb51634471827daaa1c17a6dc5bd (patch) | |
tree | b4c2e2e72359195ff8d625256e52d819ca642e7a /support/xraise.c | |
parent | d816bb448b10d50f0d3b5e01ef931d401fa9fcdc (diff) | |
download | glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.zip glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.gz glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.bz2 |
tst: Provide test for select
This change adds new test to assess select()'s timeout related
functionality (the rdfs set provides valid fd - stderr - but during
normal program operation there is no data to be read, so one just
waits for timeout).
To be more specific - two use cases are checked:
- if select() times out immediately when passed struct timeval has
zero values of tv_usec and tv_sec.
- if select() times out after timeout specified in passed argument
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support/xraise.c')
0 files changed, 0 insertions, 0 deletions