Refactor the regression test code by splitting huge monolithic C
authorsobomax <sobomax@FreeBSD.org>
Mon, 5 Dec 2016 17:21:04 +0000 (17:21 +0000)
committersobomax <sobomax@FreeBSD.org>
Mon, 5 Dec 2016 17:21:04 +0000 (17:21 +0000)
commit05cb5d4177964e02eb30cfc9ec53fb309124e8ed
treef53e9f9d831558caea0b04833e5e104fa72e5604
parent759dd91b0d11e9a9cfd321b5db9191eaaeb01ea9
Refactor the regression test code by splitting huge monolithic C
file into smaller pieces that are hopefully easier to understand
and extend. This is to pave the ground for adding few more
socket timestamp formats that I am working on here.

No functional changes (I hope).
20 files changed:
tools/regression/sockets/unix_cmsg/Makefile
tools/regression/sockets/unix_cmsg/t_bintime.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_bintime.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsg_len.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsg_len.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsgcred.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsgcred.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsgcred_sockcred.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_cmsgcred_sockcred.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_generic.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_generic.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_peercred.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_peercred.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_sockcred.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_sockcred.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_timeval.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/t_timeval.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/uc_common.c [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/uc_common.h [new file with mode: 0644]
tools/regression/sockets/unix_cmsg/unix_cmsg.c