generic/338: don't check fs after crashing it
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 4 Jul 2018 04:51:25 +0000 (21:51 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sat, 14 Jul 2018 11:42:26 +0000 (19:42 +0800)
commit26cfcac295064409f83e7eb0102edbedaea0cd07
treefdad9a4a3d5b1e707026b49ff4d26dceff874bad
parentb3cf8b72334fd35ef961869506e5a72ab398bc82
generic/338: don't check fs after crashing it

This test tries to make the filesystem go down by setting up
dm-error and committing metadata updates.  Since the test doesn't
remount the fs after it goes down to recover the log, this can
result in a dirty log being presented to the post-test filesystem
check if the filesystem is xfs and quotas are enabled.

Since this is a regression test for a NULL pointer dereference in
the kernel after the fs goes down, simply skip the post-test fsck.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/338