common: Check fs consistency on TEST_DEV only when needed
[xfstests-dev.git] / check
diff --git a/check b/check
index 5b76fabd6cab54bfb1b4714725b921c64ef36800..77c6559123a7ad7d5cca5a7ebbd593c233c96b92 100755 (executable)
--- a/check
+++ b/check
@@ -625,7 +625,8 @@ for section in $HOST_OPTIONS_SECTIONS; do
            then
                try="$try $seqnum"
                n_try=`expr $n_try + 1`
-               _check_test_fs
+               test -f ${RESULT_DIR}/require_test && _check_test_fs
+               rm -f ${RESULT_DIR}/require_test
                test -f ${RESULT_DIR}/require_scratch && _check_scratch_fs
                rm -f ${RESULT_DIR}/require_scratch
            fi