From: Cyril Hrubis Date: Thu, 13 Aug 2020 16:19:53 +0200 Subject: [LTP] [PATCH v1 3/3] syscalls/msgrcv09: Add error test for MSG_COPY flag In-Reply-To: <1595230227-21468-4-git-send-email-xuyang2018.jy@cn.fujitsu.com> References: <1595230227-21468-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> <1595230227-21468-4-git-send-email-xuyang2018.jy@cn.fujitsu.com> Message-ID: <20200813141953.GG13292@yuki.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > +static struct tst_test test = { > + .needs_tmpdir = 1, > + .needs_root = 1, > + .needs_kconfigs = (const char *[]) { > + "CONFIG_CHECKPOINT_RESTORE", > + NULL > + }, > + .min_kver = "3.8.0", > + .tcnt = ARRAY_SIZE(tcases), > + .test = verify_msgrcv, > + .setup = setup, > + .cleanup = cleanup, > +}; Do we need both min_kver and CONFIG_CHECKPOINT_RESTORE? Wouldn't be CONFIG_CHECKPOINT_RESTORE enough? Also msgrcv03 is free so we may as well name this test msgrcv03... -- Cyril Hrubis chrubis@suse.cz