From bff3019afc77eb51634471827daaa1c17a6dc5bd Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Sat, 13 Mar 2021 23:34:21 +0100 Subject: 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 --- misc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/Makefile') 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)) -- cgit v1.2.3