Skip to content
Commit 83067460 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Adhemerval Zanella
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>

(cherry picked from commit bff3019a)
parent e78ea9bd
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