From: Tao Ma Date: Fri, 14 Sep 2012 11:03:12 +0000 (+0800) Subject: xfstests: 275, Don't remove all the files in SCRATCH_MNT. X-Git-Tag: v2022.05.01~3590 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=13149d529b57dfd0d23ec188f0d0440c9113bb21;p=xfstests-dev.git xfstests: 275, Don't remove all the files in SCRATCH_MNT. 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 Reviewed-by: Eric Sandeen Signed-off-by: Ben Myers --- diff --git a/275 b/275 index 69b2895b..06db775b 100755 --- 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"