xfstests: 275, Don't remove all the files in SCRATCH_MNT.
authorTao Ma <boyu.mt@taobao.com>
Fri, 14 Sep 2012 11:03:12 +0000 (19:03 +0800)
committerBen Myers <bpm@sgi.com>
Fri, 21 Sep 2012 16:16:24 +0000 (11:16 -0500)
After the volume is mkfsed, it should have no other files that
need to be rmed. And what's more, it makes ext4 complain since
lost+found is also removed.

So remove this useless "rm -rf $SCRATCH_MNT/*".

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Ben Myers <bpm@sgi.com>
275

diff --git a/275 b/275
index 69b2895b8a79ddd1d16f92e8fb1c6b31f5bfbad3..06db775b464b296738f1201ca8e1d79dfff07c4b 100755 (executable)
--- a/275
+++ b/275
@@ -57,8 +57,6 @@ umount $SCRATCH_DEV 2>/dev/null
 _scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seq.full 2>&1
 _scratch_mount
 
-rm -rf $SCRATCH_MNT/*
-
 dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=256K count=1 >>$seq.full 2>&1
 [ $? -ne 0 ] && _fail "Error creating file"