]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: Add mkfs input validation tests
authorJan Tulak <jtulak@redhat.com>
Thu, 14 Jul 2016 12:43:34 +0000 (14:43 +0200)
committerEryu Guan <eguan@redhat.com>
Mon, 18 Jul 2016 08:55:04 +0000 (16:55 +0800)
commit9a8bdd886aa2a1fd62138e8043a4ce7af3dcb26b
tree8094b89fa54d8c3782acb7c586d71bdc48350649
parent27daf0cce4a28b30ccaa1f577d742ab09641cad7
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>
tests/xfs/191-input-validation [new file with mode: 0755]
tests/xfs/191-input-validation.out [new file with mode: 0644]
tests/xfs/group