add null files tests to auto group
[xfstests-dev.git] / 140
diff --git a/140 b/140
index 5c4bbf1d18d1c2fda6ae3fe83b82c2c7f179adee..ac015209697e2eacd8c7511dff673eacee945278 100755 (executable)
--- a/140
+++ b/140
@@ -69,9 +69,12 @@ do
                        if xfs_bmap $file | grep 'no extents' > /dev/null
                        then
                                echo corrupt file $file - non-zero size but no extents
+                       else
+                               rm -f $file
                        fi
+               else
+                       rm -f $file
                fi
-               rm -f $file
        fi
        i=`expr $i + 1`
 done