| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] xfstests: Skip dump _cleanup if filesystem is not xfs |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Wed, 10 Jun 2009 12:52:11 -0500 |
| User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
Skip dump _cleanup if filesystem is not xfs
Many/most dump tests include common.dump before checking
supported fs, and this means that even if the dump tests
are skipped, the sleep & filesystem check in _cleanup
gets run, which makes it take rather a long time to
skip these tests for non-xfs filesystems.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
---
diff --git a/common.dump b/common.dump
index 94de07f..d5aadfc 100644
--- a/common.dump
+++ b/common.dump
@@ -233,6 +233,12 @@ _wipe_fs()
#
_cleanup()
{
+ # Some tests include this before checking _supported_fs xfs
+ # and the sleeps & checks get annoying
+ if [ "$FSTYP" != "xfs" ]; then
+ return
+ fi
+
cd $here
rm -f $tmp.*
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: xfs_growfs doesn't grow on 2TB raid, jack the ripper |
|---|---|
| Next by Date: | [PATCH] xfstests: Gracefully fail aio tests if they weren't built, Eric Sandeen |
| Previous by Thread: | xfs_growfs doesn't grow on 2TB raid, jack the ripper |
| Next by Thread: | Re: [PATCH] xfstests: Skip dump _cleanup if filesystem is not xfs, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |