From: rjohnston@sgi.com
To: xfs@oss.sgi.com
Subject: [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota"
Date: Mon, 05 Nov 2012 09:01:34 -0600 [thread overview]
Message-ID: <20121105150150.558785273@sgi.com> (raw)
In-Reply-To: 20121105150133.857716755@sgi.com
[-- Attachment #1: xfstests-revert-commit-edd6bc.patch --]
[-- Type: text/plain, Size: 2227 bytes --]
Revert commit edd6bc which causes the following tests to fail:
142.out.bad:Can't initialize the DMAPI
143.out.bad:Can't initialize the DMAPI
144.out.bad:Can't initialize the DMAPI
145.out.bad:Can't initialize the DMAPI
146.out.bad:Can't initialize the DMAPI
147.out.bad:Can't initialize the DMAPI
150.out.bad:Can't initialize the DMAPI
155.out.bad:Can't initialize the DMAPI
156.out.bad:Can't initialize the DMAPI
157.out.bad:Can't initialize the DMAPI
158.out.bad:Can't initialize the DMAPI
161.out.bad:Can't initialize the DMAPI
168.out.bad:Can't initialize the DMAPI
175.out.bad:Can't initialize the DMAPI
176.out.bad:Can't initialize the DMAPI
185.out.bad:Can't initialize the DMAPI
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
Index: xfstests/common.rc
===================================================================
--- xfstests.orig/common.rc
+++ xfstests/common.rc
@@ -100,9 +100,6 @@ _mount_opts()
*)
;;
esac
- if [ ! -z "$USE_QUOTA" ]; then
- export MOUNT_OPTIONS="$MOUNT_OPTIONS -o usrquota,grpquota"
- fi
}
_mkfs_opts()
@@ -203,10 +200,6 @@ _test_options()
type=$1
TEST_OPTIONS=""
- if [ ! -z "$USE_QUOTA" ]; then
- TEST_OPTIONS="-o usrquota,grpquota"
- fi
-
if [ "$FSTYP" != "xfs" ]; then
return
fi
@@ -248,25 +241,6 @@ _mount_ops_filter()
}
-_setup_quota()
-{
- mountpoint=$1
- if [ ! -z "$USE_QUOTA" ]; then
- case $FSTYP in
- xfs)
- ;;
- ext*|reiserfs)
- quotaoff $mountpoint &>/dev/null
- quotacheck -u -g $mountpoint
- quotaon $mountpoint
- ;;
- *)
- _fail "Don't know how to turn on quota on $FSTYP"
- ;;
- esac
- fi
-}
-
_scratch_mount_options()
{
_scratch_options mount
@@ -277,7 +251,6 @@ _scratch_mount_options()
_scratch_mount()
{
_mount -t $FSTYP `_scratch_mount_options $*`
- _setup_quota $SCRATCH_MNT
}
_scratch_unmount()
@@ -295,7 +268,6 @@ _test_mount()
{
_test_options mount
_mount -t $FSTYP $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR
- _setup_quota $TEST_DIR
}
_scratch_mkfs_options()
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next parent reply other threads:[~2012-11-06 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20121105150133.857716755@sgi.com>
2012-11-05 15:01 ` rjohnston [this message]
2012-11-06 20:12 ` [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota" Dave Chinner
2012-11-06 20:42 ` Rich Johnston
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=20121105150150.558785273@sgi.com \
--to=rjohnston@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