tests: add another case to pselect6 test

* tests/pselect6.c: Include <sys/time.h>.
(handler): New function.
(main): Install an interval timer.
Use it to check how ERESTARTNOHAND is printed.
1 file changed
tree: b9da79a598cfda3cf30abd9c26099949e6c72e8b
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. access.c
  12. affinity.c
  13. aio.c
  14. AUTHORS
  15. bjm.c
  16. block.c
  17. bootstrap
  18. bpf.c
  19. build_static_example.sh
  20. cacheflush.c
  21. capability.c
  22. caps0.h
  23. caps1.h
  24. ChangeLog-CVS
  25. chdir.c
  26. chmod.c
  27. clone.c
  28. configure.ac
  29. COPYING
  30. count.c
  31. CREDITS.in
  32. defs.h
  33. desc.c
  34. dirent.c
  35. empty.h
  36. epoll.c
  37. errnoent.sh
  38. evdev.c
  39. eventfd.c
  40. execve.c
  41. exit.c
  42. fadvise.c
  43. fallocate.c
  44. fanotify.c
  45. fchownat.c
  46. file.c
  47. futex.c
  48. generate_mpers_am.sh
  49. generate_sen.sh
  50. generate_xlat_in.sh
  51. get_robust_list.c
  52. getcpu.c
  53. getcwd.c
  54. getrandom.c
  55. git-set-file-times
  56. git-version-gen
  57. gitlog-to-changelog
  58. HACKING-scripts
  59. hostname.c
  60. inotify.c
  61. INSTALL
  62. io.c
  63. ioctl.c
  64. ioctlsort.c
  65. ioprio.c
  66. ipc_defs.h
  67. ipc_msg.c
  68. ipc_msgctl.c
  69. ipc_sem.c
  70. ipc_shm.c
  71. ipc_shmctl.c
  72. kexec.c
  73. keyctl.c
  74. ldt.c
  75. link.c
  76. loop.c
  77. lseek.c
  78. make-dist
  79. Makefile.am
  80. mem.c
  81. memfd_create.c
  82. mknod.c
  83. mount.c
  84. mpers.awk
  85. mpers.sh
  86. mpers_test.sh
  87. mpers_type.h
  88. mq.c
  89. mtd.c
  90. native_defs.h
  91. net.c
  92. NEWS
  93. open.c
  94. or1k_atomic.c
  95. pathtrace.c
  96. perf.c
  97. personality.c
  98. poll.c
  99. prctl.c
  100. print_mq_attr.c
  101. print_msgbuf.c
  102. print_sigevent.c
  103. print_time.c
  104. print_timex.c
  105. printmode.c
  106. printrusage.c
  107. printsiginfo.c
  108. printsiginfo.h
  109. printstat.h
  110. process.c
  111. process_vm.c
  112. ptp.c
  113. ptrace.h
  114. quota.c
  115. readahead.c
  116. readlink.c
  117. README
  118. README-hacking
  119. README-linux-ptrace
  120. README-mpers
  121. reboot.c
  122. regs.h
  123. renameat.c
  124. resource.c
  125. rtc.c
  126. sched.c
  127. scsi.c
  128. seccomp.c
  129. sendfile.c
  130. sigaltstack.c
  131. signal.c
  132. signalent.sh
  133. signalfd.c
  134. sigreturn.c
  135. sock.c
  136. socketutils.c
  137. sram_alloc.c
  138. statfs.c
  139. strace-graph
  140. strace-log-merge
  141. strace.1
  142. strace.c
  143. strace.spec
  144. stream.c
  145. swapon.c
  146. sync_file_range.c
  147. syscall.c
  148. syscallent.sh
  149. sysctl.c
  150. sysinfo.c
  151. syslog.c
  152. sysmips.c
  153. term.c
  154. time.c
  155. times.c
  156. truncate.c
  157. uid.c
  158. uid16.c
  159. umask.c
  160. umount.c
  161. uname.c
  162. unwind.c
  163. util.c
  164. utime.c
  165. utimes.c
  166. v4l2.c
  167. vsprintf.c
  168. wait.c
  169. xattr.c
  170. xlate.el
  171. xmalloc.c