]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: exit only if tests find corruption
authorEryu Guan <eguan@redhat.com>
Wed, 24 Dec 2014 03:51:04 +0000 (14:51 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 24 Dec 2014 03:51:04 +0000 (14:51 +1100)
commit974e2baea30fa45087cfebf86b83b2d47e41ec5b
tree8b5e038d052c60c156030d0b23e0d9a58fe18f17
parente4aa15bc59afdbf45161abb86c1cd081e5a3ebc0
common: exit only if tests find corruption

If _check_xxx_filesystem called by tests when corruption found
they exit, but we don't want the calls from the test harness itself to
exit when corruption is found.

_check_xfs_filesystem already behaves correctly, make
_check_generic_filesystem and _check_btrfs_filesystem follow the same
behavior.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc