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> (cherry picked from commit bff3019a)
Loading
Please register or sign in to comment