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

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: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent d816bb44
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