From ef994d803ffbd65f96d364ddff31122b076c7eb0 Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Wed, 16 Dec 2015 21:47:38 -0500 Subject: [PATCH] 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 --- lustre/tests/sanity-quota.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.8.3.1