public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1 1/1] test_robind: add "-f" mkfs option for xfs and btrfs
@ 2016-05-24  7:49 Boyang Xue
  2016-05-24 14:01 ` Jan Stancek
  0 siblings, 1 reply; 9+ messages in thread
From: Boyang Xue @ 2016-05-24  7:49 UTC (permalink / raw)
  To: ltp

Add "-f" mkfs option for xfs and btrfs to aid the failure in creating
filesystem due to commit a7f854472ebc ("tst_mkfs: drop -f from mkfs").

Signed-off-by: Boyang Xue <bxue@redhat.com>
---
 testcases/kernel/fs/fs_readonly/test_robind.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testcases/kernel/fs/fs_readonly/test_robind.sh b/testcases/kernel/fs/fs_readonly/test_robind.sh
index dfe6f7e..181ae9e 100755
--- a/testcases/kernel/fs/fs_readonly/test_robind.sh
+++ b/testcases/kernel/fs/fs_readonly/test_robind.sh
@@ -198,6 +198,10 @@ for fstype in $FSTYPES; do
 		opts="-f --journal-size 513 -q"
 	elif echo "$fstype" | grep -q "ext"; then
 		opts="-F"
+	elif [ "$fstype" = "xfs" ]; then
+		opts="-f"
+	elif [ "$fstype" = "btrfs" ]; then
+		opts="-f"
 	fi
 
 	if [ "$fstype" != "ramfs" ]; then
-- 
2.8.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-21 10:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24  7:49 [LTP] [PATCH v1 1/1] test_robind: add "-f" mkfs option for xfs and btrfs Boyang Xue
2016-05-24 14:01 ` Jan Stancek
2016-05-24 15:26   ` Cyril Hrubis
2016-05-25  6:31     ` Jan Stancek
2016-05-25  7:05       ` Stanislav Kholmanskikh
2016-05-25 14:10         ` Cyril Hrubis
2016-06-17  4:28         ` Eryu Guan
2016-06-21 10:51           ` Stanislav Kholmanskikh
2016-06-21 10:59             ` Eryu Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox