[PATCH 2/4] xfstests: Add a require_seppquota function
From: Chandra Seetharaman <hidden>
Date: 2012-02-21 16:58:57
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Chandra Seetharaman <hidden>
Date: 2012-02-21 16:58:57
Subsystem:
the rest · Maintainer:
Linus Torvalds
From 6076480613e3034eab9758903c093a0b24048658 Mon Sep 17 00:00:00 2001
From: Chandra Seetharaman <redacted> 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 <redacted> --- 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