From 6da01172941e6816614249fcc6d258cc68546bb0 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 5 Mar 2018 10:38:43 -0800 Subject: [PATCH] LU-10722 test: Add version check to sanity-quota test_55 Skip sanity-quota test_55 if server is older than 2.10.58 Test-Parameters: trivial testlist=sanity-quota Signed-off-by: Wei Liu Change-Id: Ia8a129298d75fb019699adda07fecd2f4d9eb46a Reviewed-on: https://review.whamcloud.com/31531 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Saurabh Tandan Reviewed-by: Oleg Drokin --- lustre/tests/sanity-quota.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 431c5d2..239b1b7 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -2984,6 +2984,8 @@ test_54() { run_test 54 "basic lfs project interface test" test_55() { + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.10.58) ] && + skip "Not supported before 2.10.58." && return setup_quota_test || error "setup quota failed with $?" set_ost_qtype $QTYPE || error "enable ost quota failed" -- 1.8.3.1