From: Chandra Seetharaman <sekharan@us.ibm.com>
To: xfs@oss.sgi.com
Cc: Chandra Seetharaman <sekharan@us.ibm.com>
Subject: [PATCH 2/4] xfstests: Add a require_seppquota function
Date: Tue, 21 Feb 2012 10:58:45 -0600 [thread overview]
Message-ID: <20120221165845.23253.658.sendpatchset@chandra-lucid.austin.ibm.com> (raw)
In-Reply-To: <20120221165833.23253.38042.sendpatchset@chandra-lucid.austin.ibm.com>
>From 6076480613e3034eab9758903c093a0b24048658 Mon Sep 17 00:00:00 2001
From: Chandra Seetharaman <sekharan@us.ibm.com>
Date: Wed, 8 Feb 2012 10:04:49 -0600
Subject: [PATCH 2/3] Add a require_seppquota function in preparation for testing
simultaneous use of pquota and gquota in a filesystem
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
---
common.quota | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/common.quota b/common.quota
index 9736306..16344ea 100644
--- a/common.quota
+++ b/common.quota
@@ -87,6 +87,15 @@ _require_nobody()
[ $? -ne 0 ] && _notrun "group file does not contain nobody/nogroup."
}
+#
+# checks to see if mkfs supports separate pquota
+#
+_require_seppquota()
+{
+ mkfs.xfs -o test 2>&1 | grep seppquota > /dev/null
+ [ $? -ne 0 ] && _notrun "mkfs does not support separate pquota."
+}
+
# create a file as a specific user (uid)
# takes filename, id, type (u/g/p), blocksize, blockcount
#
--
1.7.1
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-02-21 16:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 16:58 [PATCH 0/4] xfstests: Test pquota and gquota being used together Chandra Seetharaman
2012-02-21 16:58 ` [PATCH 1/4] xfstests: Fix a problem where using bsize was not working as expected Chandra Seetharaman
2012-05-04 21:01 ` Ben Myers
2012-02-21 16:58 ` Chandra Seetharaman [this message]
2012-05-04 21:26 ` [PATCH 2/4] xfstests: Add a require_seppquota function Ben Myers
2012-02-21 16:58 ` [PATCH 3/4] xfstests: Add a simple test to check separate pquota/gquota Chandra Seetharaman
2012-02-21 16:58 ` [PATCH 4/4] xfstests: Add the new test to the group file Chandra Seetharaman
2012-05-04 21:07 ` Ben Myers
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=20120221165845.23253.658.sendpatchset@chandra-lucid.austin.ibm.com \
--to=sekharan@us.ibm.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