]> granicus.if.org Git - strace/commit
tests: robustify pselect6 test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Sep 2015 21:20:56 +0000 (21:20 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 19 Sep 2015 01:04:49 +0000 (04:04 +0300)
commit5d98310e001e2095d486418a6ae40aafcfbcafb7
tree7c9e6f037382c3e6460895599a70508bd784169e
parent4cb5ccca247ca1560ce711e35c430805034e4c6b
tests: robustify pselect6 test

* tests/pselect6.c: Do not include <assert.h> and <string.h>.
Include <sys/syscall.h>.
[!__NR_pselect6]: Skip the test.
(main): Skip the test instead of assertions.
Add some padding to the timespec structure.
tests/pselect6.c