| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 1/3] Skip _check_test_fs unless a test is actually run |
| From: | "Theodore Ts'o" <tytso@xxxxxxx> |
| Date: | Fri, 19 Jun 2009 13:53:31 -0400 |
| Cc: | tytso@xxxxxxx |
Running _check_test_fs can take a non-trivial amount of time, and if a
test has been skipped because it doesn't work on Linux, or it doesn't
work of for ext4, it's pointless to re-run _check_test_fs. So move
the call to _check_test_fs so it is only run if a test is actually run.
Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
---
check | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/check b/check
index 545c010..1aae528 100755
--- a/check
+++ b/check
@@ -308,10 +308,10 @@ do
then
try="$try $seq"
n_try=`expr $n_try + 1`
+ _check_test_fs
fi
seq="after_$seq"
- _check_test_fs
done
interrupt=false
--
1.6.3.2.1.gb9f7d.dirty
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/3] Fix common.config to allow SCRATCH_DEV and SCRATCH_MNT to be optional, Theodore Ts'o |
|---|---|
| Next by Date: | Re: [PATCH] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls, Christoph Hellwig |
| Previous by Thread: | XFS and atime update strangeness, Michael Weissenbacher |
| Next by Thread: | [PATCH 3/3] Fix _require_scratch test for extN, resierfs, gfs2, and btrfs, Theodore Ts'o |
| Indexes: | [Date] [Thread] [Top] [All Lists] |