All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] pipe2: add min_kver = "2.6.35" in pipe2_04
@ 2020-04-26  9:00 Li Wang
  0 siblings, 0 replies; only message in thread
From: Li Wang @ 2020-04-26  9:00 UTC (permalink / raw)
  To: ltp

To change the capacity of a pipe was involved from kernel-2.6.35 version.

  F_SETPIPE_SZ (int; since Linux 2.6.35)
  F_GETPIPE_SZ (void; since Linux 2.6.35)

Signed-off-by: Li Wang <liwang@redhat.com>
---
 testcases/kernel/syscalls/pipe2/pipe2_04.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/pipe2/pipe2_04.c b/testcases/kernel/syscalls/pipe2/pipe2_04.c
index 1edb3f151..432007e4d 100644
--- a/testcases/kernel/syscalls/pipe2/pipe2_04.c
+++ b/testcases/kernel/syscalls/pipe2/pipe2_04.c
@@ -98,6 +98,7 @@ static void cleanup(void)
 }
 
 static struct tst_test test = {
+	.min_kver = "2.6.35",
 	.test_all = test_pipe2,
 	.setup = setup,
 	.cleanup = cleanup,
-- 
2.21.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-26  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26  9:00 [LTP] [COMMITTED] pipe2: add min_kver = "2.6.35" in pipe2_04 Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.