diff --git a/test/zdtm.sh b/test/zdtm.sh index bf408d483..3825d7343 100644 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -28,6 +28,7 @@ transition/file_read transition/fork static/zombie00 static/sockets00 +static/sockets_spair static/socket_queues static/pid00 static/pstree diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile index 17a6e79f7..6ce37a6bf 100644 --- a/test/zdtm/live/static/Makefile +++ b/test/zdtm/live/static/Makefile @@ -35,6 +35,7 @@ TST_NOFILE = \ utsname \ pstree \ sockets00 \ + sockets_spair \ socket_queues \ ipc_namespace \ selfexe00 \ diff --git a/test/zdtm/live/static/sockets_spair.c b/test/zdtm/live/static/sockets_spair.c new file mode 100644 index 000000000..f2c916f34 --- /dev/null +++ b/test/zdtm/live/static/sockets_spair.c @@ -0,0 +1,58 @@ +#define _GNU_SOURCE + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "zdtmtst.h" + +const char *test_doc = "Test unix stream socketpair\n"; +const char *test_author = "Cyrill Gorcunov