xfstests: exit non-0 if fs check fails
authorEric Sandeen <sandeen@sandeen.net>
Thu, 1 Apr 2010 03:01:11 +0000 (22:01 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 1 Apr 2010 03:01:11 +0000 (22:01 -0500)
commit9d9081821dc32010e4b2dd25aef27afc1c95aa74
tree5e48eb2d8069e64cf74b295d70176a6ac9afeedf
parentb2fd1f3f27b6e035d05ff90a1bb8882a5374eb06
xfstests: exit non-0 if fs check fails

Right now if any of the _check_scratch_fs tests etc fail,
the check script exits but with 0 status.

This change will cause the status to be non-0 so we can detect
the error.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: David Chinner <david@fromorbit.com>
common.rc