From: Niu Yawei Date: Thu, 17 Dec 2015 02:47:38 +0000 (-0500) Subject: LU-6037 test: skip s-q 37 for old server X-Git-Tag: 2.7.66~22 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ef994d803ffbd65f96d364ddff31122b076c7eb0;p=fs%2Flustre-release.git LU-6037 test: skip s-q 37 for old server Old server (prior 2.6.93) doesn't have fix of LU-5006, the s-q 37 test should be skipped in interoperability testing. Signed-off-by: Niu Yawei Change-Id: Ic794c3dead462f27fde9ab4b9dfcd2fd1d68db69 Reviewed-on: http://review.whamcloud.com/17648 Tested-by: Jenkins Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index bd057dc..5b175f2 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -2301,6 +2301,9 @@ run_test 35 "Usage is still accessible across reboot" # chown/chgrp to the file created with MDS_OPEN_DELAY_CREATE # LU-5006 test_37() { + [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.6.93) ] && + skip "Old server doesn't have LU-5006 fix." && return + setup_quota_test || error "setup quota failed with $?" trap cleanup_quota_test EXIT