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 /misc/Makefile | |
parent | d816bb448b10d50f0d3b5e01ef931d401fa9fcdc (diff) | |
download | glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.gz glibc-bff3019afc77eb51634471827daaa1c17a6dc5bd.tar.bz2 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 'misc/Makefile')
-rw-r--r-- | misc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile index cfc15355d6..38dad737f2 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -88,7 +88,7 @@ tests := tst-dirname tst-tsearch tst-fdset tst-mntent tst-hsearch \ tst-preadvwritev tst-preadvwritev64 tst-makedev tst-empty \ tst-preadvwritev2 tst-preadvwritev64v2 tst-warn-wide \ tst-ldbl-warn tst-ldbl-error tst-dbl-efgcvt tst-ldbl-efgcvt \ - tst-mntent-autofs tst-syscalls tst-mntent-escape + tst-mntent-autofs tst-syscalls tst-mntent-escape tst-select # Tests which need libdl. ifeq (yes,$(build-shared)) |