From: Eryu Guan <guaneryu@gmail.com>
To: xfs@oss.sgi.com
Cc: Eryu Guan <guaneryu@gmail.com>
Subject: [PATCH] xfstests 273: Create lost+found to pass _check_scratch_fs
Date: Wed, 11 Jan 2012 00:37:49 +0800 [thread overview]
Message-ID: <1326213469-22687-2-git-send-email-guaneryu@gmail.com> (raw)
In-Reply-To: <1326213469-22687-1-git-send-email-guaneryu@gmail.com>
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@gmail.com>
---
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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-01-10 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 16:37 [PATCH] xfstests 271: use xfs_io to truncate file instead of truncate(1) Eryu Guan
2012-01-10 16:37 ` Eryu Guan [this message]
2012-01-10 22:02 ` [PATCH] xfstests 273: Create lost+found to pass _check_scratch_fs Dave Chinner
2012-01-12 17:24 ` Eryu Guan
2012-01-11 11:46 ` [PATCH] xfstests 271: use xfs_io to truncate file instead of truncate(1) Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326213469-22687-2-git-send-email-guaneryu@gmail.com \
--to=guaneryu@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox