Whamcloud - gitweb
LU-1526 tests: add version_code() and lustre_version_code()
authorYu Jian <yujian@whamcloud.com>
Thu, 6 Dec 2012 15:45:23 +0000 (23:45 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Dec 2012 21:53:58 +0000 (16:53 -0500)
commit8765a54e05da92bc706352085f7f849ab5ce033b
treefe451cc90ad3918f020da2ae07025232c858f7f8
parent54c2151408f30fab8b62a51e02d196cd6b8360f2
LU-1526 tests: add version_code() and lustre_version_code()

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

It also fixes the version number for the interoperability
of quota codes and reads the quota_type from MDS instead of
MGS.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes testlist=conf-sanity,ost-pools,sanity-quota
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I5a4d26fb71a7e56fa8497688ee2492ec90c446f8
Reviewed-on: http://review.whamcloud.com/4754
Tested-by: Hudson
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/liblustre.sh
lustre/tests/test-framework.sh