common/rc: Add extra check for xfs_io -c "chattr" on XFS
[xfstests-dev.git] / check
diff --git a/check b/check
index 2676b61978e1a486e34b2b93358ebaccff382819..5ffa8777110393b96bb57960acb461d2f4355bf8 100755 (executable)
--- a/check
+++ b/check
@@ -763,6 +763,11 @@ function run_section()
                        touch ${RESULT_DIR}/check_dmesg
                fi
                _try_wipe_scratch_devs > /dev/null 2>&1
+
+               # clear the WARN_ONCE state to allow a potential problem
+               # to be reported for each test
+               (echo 1 > $DEBUGFS_MNT/clear_warn_once) > /dev/null 2>&1
+
                if [ "$DUMP_OUTPUT" = true ]; then
                        _run_seq 2>&1 | tee $tmp.out
                        # Because $? would get tee's return code