From 13149d529b57dfd0d23ec188f0d0440c9113bb21 Mon Sep 17 00:00:00 2001 From: Tao Ma Date: Fri, 14 Sep 2012 19:03:12 +0800 Subject: [PATCH] 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 --- 275 | 2 -- 1 file changed, 2 deletions(-) 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" -- 2.39.5