public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs/191-input-validation:The "verion=1 -m crc=1" option is valid
@ 2019-12-05  4:02 Baihua Lu
  2019-12-05  7:05 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Baihua Lu @ 2019-12-05  4:02 UTC (permalink / raw)
  To: fstests; +Cc: guaneryu, balu, Lili.Deng, Baihua Lu

The "version=1 -m crc=1" option is valid, so the test should be passed.

Signed-off-by: Baihua Lu <lubaihua0331@gmail.com>
---
 tests/xfs/191-input-validation | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/191-input-validation b/tests/xfs/191-input-validation
index db427349..b5611c5b 100755
--- a/tests/xfs/191-input-validation
+++ b/tests/xfs/191-input-validation
@@ -217,6 +217,7 @@ do_mkfs_pass -l lazy-count=1 -m crc=0 $SCRATCH_DEV
 do_mkfs_pass -l version=1 -m crc=0 $SCRATCH_DEV
 do_mkfs_pass -l version=2 -m crc=0 $SCRATCH_DEV
 do_mkfs_pass -l version=2 $SCRATCH_DEV
+do_mkfs_pass -l version=1 -m crc=1 $SCRATCH_DEV
 
 # log section, should fail
 do_mkfs_fail -l size=${fssize}b $SCRATCH_DEV
@@ -239,7 +240,6 @@ do_mkfs_fail -l internal=1,logdev=$fsimg $SCRATCH_DEV
 do_mkfs_fail -l lazy-count=1garbage $SCRATCH_DEV
 do_mkfs_fail -l lazy-count=2 $SCRATCH_DEV
 do_mkfs_fail -l lazy-count=0 -m crc=1 $SCRATCH_DEV
-do_mkfs_fail -l version=1 -m crc=1 $SCRATCH_DEV
 do_mkfs_fail -l version=0  $SCRATCH_DEV
 
 
-- 
2.17.1


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

end of thread, other threads:[~2019-12-05  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05  4:02 [PATCH] xfs/191-input-validation:The "verion=1 -m crc=1" option is valid Baihua Lu
2019-12-05  7:05 ` Darrick J. Wong

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