xfs: Add mkfs input validation tests

mkfs.xfs does not do a very good job of input validation. This test
is designed to exercise the input validation and test good/bad
combinations of options being set. It will not pass on an old
mkfs.xfs binary - it is designed to be the test case for an input
validation cleanup (merged in spring/summer 2016).

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Jan Tulak
2016-07-14 14:43:34 +02:00
committed by Eryu Guan
parent 27daf0cce4
commit 9a8bdd886a
3 changed files with 341 additions and 0 deletions
+1
View File
@@ -188,6 +188,7 @@
188 ci dir auto
189 mount auto quick
190 rw auto quick
191-input-validation auto quick mkfs
192 auto quick clone
193 auto quick clone
194 rw auto