Skip to contentSkip to conversation

syscalls/ioctl08: Add check for btrfs

PATCH New Christian Amann 1 participant 2 messages Jul 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 syscalls/ioctl08: Add check for btrfs

This test used to fail on systems with missing btrfs support. Now it ends with TCONF.

---
 testcases/kernel/syscalls/ioctl/ioctl08.c | 6 ++++++
 1 file changed, 6 insertions(+)
testcases/kernel/syscalls/ioctl/ioctl08.c +6 -0
index 8de80048c..c39423b8b 100644
@@ -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",
Signature · 1 line
2.16.4
#1 lore raw

PATCH 1/1 syscalls/ioctl08: Add check for btrfs

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: [email protected]
Cc: [email protected]; 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.

---
 testcases/kernel/syscalls/ioctl/ioctl08.c | 6 ++++++
 1 file changed, 6 insertions(+)
testcases/kernel/syscalls/ioctl/ioctl08.c +6 -0
index 8de80048c..c39423b8b 100644
@@ -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>