]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs/096: run test only if mkfs.xfs accepts invalid inputs
authorJan Tulak <jtulak@redhat.com>
Thu, 14 Jul 2016 12:43:33 +0000 (14:43 +0200)
committerEryu Guan <eguan@redhat.com>
Sat, 16 Jul 2016 09:34:57 +0000 (17:34 +0800)
Because we recently changed how mkfs behaves when it gets
incorrect/invalid values, add a feature check to run this test only
on older binaries, which accepts invalid sunit values.

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/096

index f949e83e7de8c8f962aa2934ac216c21f17c3ba6..64754b2a208ef8b95efae86886c9d2e2301fa9f1 100755 (executable)
@@ -105,6 +105,7 @@ _supported_fs xfs
 _supported_os IRIX Linux
 _require_scratch
 _require_v2log
+_require_xfs_mkfs_without_validation
 
 # choose .out file based on internal/external log
 rm -f $seqfull.out