add null files tests to auto group
authorDave Chinner <dgc@sgi.com>
Wed, 20 Jun 2007 06:13:49 +0000 (06:13 +0000)
committerDave Chinner <dgc@sgi.com>
Wed, 20 Jun 2007 06:13:49 +0000 (06:13 +0000)
Merge of master-melb:xfs-cmds:28940a by kenmcd.

  leave bad files around for post mortem on failure.

140
group

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
diff --git a/group b/group
index 2344c3379f6de70fb540fadb8a3c0b4bd6b1eea4..3e64988b4e4c8035b1c5064fe34a4da019bb7065 100644 (file)
--- a/group
+++ b/group
@@ -221,10 +221,10 @@ dmapi
 134 quota auto
 135 metadata auto
 136 attr2 
-137 metadata log
-138 metadata log
-139 metadata log
-140 metadata log
+137 metadata log auto
+138 metadata log auto
+139 metadata log auto
+140 metadata log auto
 141 rw auto
 142 dmapi auto
 143 dmapi auto