about summary refs log tree commit diff
path: root/sysdeps/mips/tst-abi-interlink.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-03-13 23:34:21 +0100
committerLukasz Majewski <lukma@denx.de>2021-03-23 12:23:33 +0100
commitbff3019afc77eb51634471827daaa1c17a6dc5bd (patch)
treeb4c2e2e72359195ff8d625256e52d819ca642e7a /sysdeps/mips/tst-abi-interlink.c
parentd816bb448b10d50f0d3b5e01ef931d401fa9fcdc (diff)
downloadglibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.gz
glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.xz
glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.zip
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 'sysdeps/mips/tst-abi-interlink.c')
0 files changed, 0 insertions, 0 deletions