misc: tag all tests that examine crash recovery in a loop
[xfstests-dev.git] / tests / generic / 482
index f26e6fc4b95fd2eed64c04d3064c76034fda13ed..c7e034d0ab47aaada468353b194285d777b70f7d 100755 (executable)
@@ -9,9 +9,13 @@
 # Will do log replay and check the filesystem.
 #
 . ./common/preamble
-_begin_fstest auto metadata replay thin
+_begin_fstest auto metadata replay thin recoveryloop
 
 # Override the default cleanup function.
+#
+# If debugging logwrites failures using the tools/dm-logwrite-replay script,
+# switch the cleanup function to the version that is commented out below so that
+# failure leaves the corpse intact for post-mortem failure analysis.
 _cleanup()
 {
        cd /
@@ -21,6 +25,20 @@ _cleanup()
        rm -f $tmp.*
 }
 
+# tools/dm-logwrite-replay _cleanup version
+#_cleanup()
+#{
+#      cd /
+#      $KILLALL_PROG -KILL -q $FSSTRESS_PROG &> /dev/null
+#      if [ $status -eq 0 ]; then
+#              _log_writes_cleanup &> /dev/null
+#              _dmthin_cleanup
+#      else
+#              echo dm-thinvol-dev: $DMTHIN_VOL_DEV >> $seqres.full
+#      fi
+#      rm -f $tmp.*
+#}
+
 # Import common functions.
 . ./common/filter
 . ./common/dmthin