Skip to contentSkip to conversation

patch with recvmmsg/sendmmsg test cases

LTP Ramon Pantin 2 participants 2 messages Feb 15, 2019 – Feb 16, 2019

lore
Share & tools
lore
#0 lore raw

From 59d293fed8db662b3c252e1a063300a4a25bf969 Mon Sep 17 00:00:00 2001
From: Ramon Pantin <[email protected]>
Date: Thu, 14 Feb 2019 22:36:04 -0800
Subject: [PATCH] Tests for sendmmsg/recvmmsg, it also contains a bunch of
tests not covered by the existing test sendmsg/recvmsg tests cases. Not going to separate those into independent tests because they are used in the multiple-message syscall tests to form a variety of multi-message test cases.

---
  testcases/kernel/syscalls/recvmmsg/Makefile   |   10 +
  .../kernel/syscalls/recvmmsg/recvmmsg01.c     | 2164 +++++++++++++++++
  2 files changed, 2174 insertions(+)

create mode 100644 testcases/kernel/syscalls/recvmmsg/Makefile create mode 100644 testcases/kernel/syscalls/recvmmsg/recvmmsg01.c

testcases/kernel/syscalls/recvmmsg/Makefile new file +10 -0
new file mode 100644
index 000000000..c6f94c9e2
@@ -0,0 +1,10 @@
+#	Copyright (c) Google LLC, 2018
+#	SPDX-License-Identifier: GPL-2.0-or-later
+
+top_srcdir ?= ../../../..
+
+include $(top_srcdir)/include/mk/testcases.mk
+
+CFLAGS = -pthread
+
+include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/recvmmsg/recvmmsg01.c new file +2164 -0

2,164 lines not on this page · raw message

Signature · 6 lines
2.21.0.rc0.258.g878e2cd30e-goog


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190214/27d4f60b/attachment-0001.html>
#1 lore raw

Hi Ramon,

Quoted 7 lines · Ramon Pantin

From 59d293fed8db662b3c252e1a063300a4a25bf969 Mon Sep 17 00:00:00 2001
From: Ramon Pantin<[email protected]>
Date: Thu, 14 Feb 2019 22:36:04 -0800
Subject: [PATCH] Tests for sendmmsg/recvmmsg, it also contains a bunch of
tests not covered by the existing test sendmsg/recvmsg tests cases. Not going to separate those into independent tests because they are used in the multiple-message syscall tests to form a variety of multi-message test cases.

Let's discuss offline before further upstream review.

thanks,
Steve