* [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota"
[not found] <20121105150133.857716755@sgi.com>
@ 2012-11-05 15:01 ` rjohnston
2012-11-06 20:12 ` Dave Chinner
0 siblings, 1 reply; 3+ messages in thread
From: rjohnston @ 2012-11-05 15:01 UTC (permalink / raw)
To: xfs
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota"
2012-11-05 15:01 ` [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota" rjohnston
@ 2012-11-06 20:12 ` Dave Chinner
2012-11-06 20:42 ` Rich Johnston
0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2012-11-06 20:12 UTC (permalink / raw)
To: rjohnston; +Cc: xfs
On Mon, Nov 05, 2012 at 09:01:34AM -0600, rjohnston@sgi.com wrote:
> 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>
Looks fine, but please use 'git revert edd6bcf' to revert the patch
and put this error message in it rather than applying a quilt patch
to do the revert.
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota"
2012-11-06 20:12 ` Dave Chinner
@ 2012-11-06 20:42 ` Rich Johnston
0 siblings, 0 replies; 3+ messages in thread
From: Rich Johnston @ 2012-11-06 20:42 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs
On 11/06/2012 02:12 PM, Dave Chinner wrote:
> On Mon, Nov 05, 2012 at 09:01:34AM -0600, rjohnston@sgi.com wrote:
>> 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 k
>> 185.out.bad:Can't initialize the DMAPI
>>
>> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
>
> Looks fine, but please use 'git revert edd6bcf' to revert the patch
> and put this error message in it rather than applying a quilt patch
> to do the revert.
>
> Reviewed-by: Dave Chinner <dchinner@redhat.com>
>
> Cheers,
>
> Dave.
>
Thanks Dave commit is 103af3.
--Rich
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-06 20:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20121105150133.857716755@sgi.com>
2012-11-05 15:01 ` [patch] xfstests: Revert commit edd6bc "optionally run all tests under quota" rjohnston
2012-11-06 20:12 ` Dave Chinner
2012-11-06 20:42 ` Rich Johnston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox