| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfstests 273: Create lost+found to pass _check_scratch_fs |
| From: | Eryu Guan <guaneryu@xxxxxxxxx> |
| Date: | Wed, 11 Jan 2012 00:37:49 +0800 |
| Cc: | Eryu Guan <guaneryu@xxxxxxxxx> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ffSyDVTrW1YySwnuL1Znn41pjySY7+RZql3Oo+xmb8U=; b=h3LBItZq9od6z0fS2xXe5UYrLvQUbZYeorpJJtYMNsMG0p2e6udCcC9csipgiv5wnW lc5sSoBvsKSBYQUfXgh6wG/TIj2jP/IfAiRi7RI8IXHqDr8d0t/9nd5wSDFBFQK2+45w CzNiBTBQCLvZnV2qP0KKeW9Bw1eprf1bU6V/Q= |
| In-reply-to: | <1326213469-22687-1-git-send-email-guaneryu@xxxxxxxxx> |
| References: | <1326213469-22687-1-git-send-email-guaneryu@xxxxxxxxx> |
fsck.extN will complain lost+found is missing and fail 273.
So create lost+found explicitly after removing everything in
$SCRATCH_MNT.
Signed-off-by: Eryu Guan <guaneryu@xxxxxxxxx>
---
273 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/273 b/273
index 2965132..9ecb2d3 100755
--- a/273
+++ b/273
@@ -36,6 +36,7 @@ _cleanup()
{
cd /
rm -rf $SCRATCH_MNT/* $tmp.*
+ mkdir -p $SCRATCH_MNT/lost+found
_scratch_unmount
}
@@ -107,6 +108,7 @@ _do_workload()
_pid=1
rm -rf $SCRATCH_MNT/*
+ mkdir -p $SCRATCH_MNT/lost+found
_threads_set
_file_create
--
1.7.8.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfstests 271: use xfs_io to truncate file instead of truncate(1), Eryu Guan |
|---|---|
| Next by Date: | Re: Introduce SEEK_DATA/SEEK_HOLE to XFS V5, Ben Myers |
| Previous by Thread: | [PATCH] xfstests 271: use xfs_io to truncate file instead of truncate(1), Eryu Guan |
| Next by Thread: | Re: [PATCH] xfstests 273: Create lost+found to pass _check_scratch_fs, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |