[PATCH v2 0/2] Add test for socket timestamp
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Jul 6 14:50:33 GMT 2021
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
--
2.30.2
More information about the Libc-alpha
mailing list