Skip dump _cleanup if filesystem is not xfs
[xfstests-dev.git] / common.dump
index 94de07fc7a21f79c89cd7d9f1dff53668a33f54d..db9a92e6f3ec22437501a791d06fa0224f176e35 100644 (file)
@@ -233,6 +233,12 @@ _wipe_fs()
 #
 _cleanup()
 {
+    # Some tests include this before checking _supported_fs xfs
+    # and the sleeps & checks here get annoying
+    if [ "$FSTYP" != "xfs" ]; then
+       return
+    fi
+
     cd $here
     rm -f $tmp.*