[LTP] [PATCH v1] syscalls/ioctl08: Add check for btrfs
Christian Amann
camann@suse.com
Tue Jul 9 10:10:35 CEST 2019
Sorry, I just found out that my mail forwarding stopped working so I didn't see that there's already a patch for that.
Please Ignore this, thanks!
Regards,
Christian
________________________________
From: Christian Amann
Sent: Tuesday, July 9, 2019 9:32:28 AM
To: ltp@lists.linux.it
Cc: amir73il@gmail.com; Christian Amann
Subject: [PATCH v1] syscalls/ioctl08: Add check for btrfs
This test used to fail on systems with missing btrfs support. Now it
ends with TCONF.
Reported-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Amann <camann@suse.com>
---
testcases/kernel/syscalls/ioctl/ioctl08.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/testcases/kernel/syscalls/ioctl/ioctl08.c b/testcases/kernel/syscalls/ioctl/ioctl08.c
index 8de80048c..c39423b8b 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl08.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl08.c
@@ -112,9 +112,15 @@ static void setup(void)
sizeof(struct file_dedupe_range_info));
}
+static const char *kconfigs[] = {
+ "CONFIG_BTRFS_FS",
+ NULL
+};
+
static struct tst_test test = {
.test = verify_ioctl,
.tcnt = ARRAY_SIZE(tcases),
+ .needs_kconfigs = kconfigs,
.setup = setup,
.cleanup = cleanup,
.min_kver = "4.5",
--
2.16.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190709/0bdb9c6b/attachment-0001.htm>
More information about the ltp
mailing list