[PATCH 5/5] xfstest: add quota tests to ubifs

Dongsheng Yang
2015-07-30T06:12:58Z

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
---
common/quota | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/quota b/common/quota
index 23be4f8..b0b1eef 100644
--- a/common/quota
+++ b/common/quota
@@ -29,7 +29,7 @@ _require_quota()
[ -n $QUOTA_PROG ] || _notrun "Quota user tools not installed"

case $FSTYP in
- ext2|ext3|ext4|ext4dev|reiserfs)
+ ubifs|ext2|ext3|ext4|ext4dev|reiserfs)
if [ ! -d /proc/sys/fs/quota ]; then
_notrun "Installed kernel does not support quotas"
fi
@@ -213,7 +213,7 @@ _check_quota_usage()

VFS_QUOTA=0
case $FSTYP in
- ext2|ext3|ext4|ext4dev|reiserfs|gfs2)
+ ubifs|ext2|ext3|ext4|ext4dev|reiserfs|gfs2)
VFS_QUOTA=1
quotaon -f -u -g $SCRATCH_MNT 2>/dev/null
;;
--
1.8.4.2