[v2,0/2] Add test for socket timestamp

Message ID 20210706145035.1657874-1-adhemerval.zanella@linaro.org
Headers
Series Add test for socket timestamp |

Message

Adhemerval Zanella July 6, 2021, 2:50 p.m. UTC
  It tests both recvmsg and recvmmsg timestamp with different ancilliary
data sizes (to check if convertion take this in consideration), and
with different time_t sizes.
 
I checked it on x86_64-linux-gnu and i686-linux-gnu on both 
5.11 kernel and on 4.15 kernel.  I am planning to run on some
different system with different kernels as well.

Adhemerval Zanella (2):
  support: Add support_socket_time64_timestamp
  socket: Add socket timestamp test

 support/Makefile                              |   1 +
 support/support.h                             |   3 +
 support/support_socket_time64_timestamp.c     |  64 ++++++
 sysdeps/unix/sysv/linux/Makefile              |   3 +
 .../sysv/linux/tst-socket-timestamp-time64.c  |   1 +
 .../unix/sysv/linux/tst-socket-timestamp.c    | 201 ++++++++++++++++++
 6 files changed, 273 insertions(+)
 create mode 100644 support/support_socket_time64_timestamp.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp.c