From: David Chinner <dgc@sgi.com>
To: xfs-dev <xfs-dev@sgi.com>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: [PATCH, XFSQA] Don't run 175-177 if DMAPI is not supported
Date: Wed, 23 Apr 2008 11:38:02 +1000 [thread overview]
Message-ID: <20080423013802.GJ103491721@sgi.com> (raw)
Don't run tests 175, 176 or 177 if dmapi is not supported by the
underlying kernel.
Signed-off-by: Dave Chinner <dgc@sgi.com>
---
xfstests/175 | 5 +++++
xfstests/176 | 5 +++++
xfstests/177 | 5 +++++
3 files changed, 15 insertions(+)
Index: xfs-cmds/xfstests/175
===================================================================
--- xfs-cmds.orig/xfstests/175 2007-08-24 14:19:48.000000000 +1000
+++ xfs-cmds/xfstests/175 2008-04-23 11:33:33.727631991 +1000
@@ -29,6 +29,7 @@ _cleanup()
# get standard environment, filters and checks
. ./common.rc
. ./common.filter
+. ./common.dmapi
. ./common.punch
# real QA test starts here
@@ -37,6 +38,10 @@ _supported_os Linux
_require_scratch
+# test that we have DMAPI support
+_dmapi_scratch_mount
+unmount $SCRATCH_MNT > /dev/null 2>&1
+
# _test_punch args: blksize extsize_hint filesize "pp1 pp2 pp3" \
# "ps1 ps2 ps3" "pt1 pt2 pt3" "wp1 wp2" "ws1 ws2" \
# "w p p w p" resvsp
Index: xfs-cmds/xfstests/176
===================================================================
--- xfs-cmds.orig/xfstests/176 2007-08-24 14:19:48.000000000 +1000
+++ xfs-cmds/xfstests/176 2008-04-23 11:33:57.780529656 +1000
@@ -27,6 +27,7 @@ _cleanup()
# get standard environment, filters and checks
. ./common.rc
. ./common.filter
+. ./common.dmapi
. ./common.punch
# real QA test starts here
@@ -35,6 +36,10 @@ _supported_os Linux
_require_scratch
+# test that we have DMAPI support
+_dmapi_scratch_mount
+unmount $SCRATCH_MNT > /dev/null 2>&1
+
# _test_punch args: blksize extsize_hint filesize "pp1 pp2 pp3" \
# "ps1 ps2 ps3" "pt1 pt2 pt3" "wp1 wp2" "ws1 ws2" \
# "w p p w p" resvsp
Index: xfs-cmds/xfstests/177
===================================================================
--- xfs-cmds.orig/xfstests/177 2007-10-12 13:50:14.000000000 +1000
+++ xfs-cmds/xfstests/177 2008-04-23 11:34:38.991214401 +1000
@@ -27,6 +27,7 @@ _cleanup()
# get standard environment, filters and checks
. ./common.rc
. ./common.filter
+. ./common.dmapi
# real QA test starts here
@@ -39,6 +40,10 @@ _require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1 \
|| _fail "mkfs failed"
+# test that we have DMAPI support
+_dmapi_scratch_mount
+unmount $SCRATCH_MNT > /dev/null 2>&1
+
_scratch_mount \
|| _fail "mount failed"
next reply other threads:[~2008-04-23 1:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 1:38 David Chinner [this message]
2008-04-23 6:58 ` [PATCH, XFSQA] Don't run 175-177 if DMAPI is not supported Timothy Shimmin
2008-04-24 6:58 ` David Chinner
2008-04-28 0:09 ` Timothy Shimmin
2008-04-29 0:22 ` David Chinner
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=20080423013802.GJ103491721@sgi.com \
--to=dgc@sgi.com \
--cc=xfs-dev@sgi.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