Whamcloud - gitweb
LU-1842 quota: t-f changes for new quota
authorNiu Yawei <niu@whamcloud.com>
Fri, 28 Dec 2012 07:19:57 +0000 (15:19 +0800)
committerJohann Lombardi <johann.lombardi@intel.com>
Tue, 8 Jan 2013 06:50:55 +0000 (01:50 -0500)
commit3892ce7ecbee3ed75992e43163c1e04dc6d06ff8
tree1681f9a0b6c78aa5584063793dbd8c1a82036083
parent72aaff4d8a98b91eac82703b06c316f85a4560f8
LU-1842 quota: t-f changes for new quota

Add new quota functions in the t-f according to new quota
architecutre, at the same time, old functions are kept for
the interoprability with old server.

The patch also adds version_code() and lustre_version_code()
functions into the test framework.

One minor defect fixed:
- in facet_up(), add '-x' option to grep for exact matching,
otherwise this function will not work in single node test;

Test-Parameters: envdefinitions=ENABLE_QUOTA=yes testlist=sanity-quota

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I7d96b7ea7cd14331aee7cfcca711a4e876025e2f
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/4897
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/tests/liblustre.sh
lustre/tests/test-framework.sh