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 <yawei.niu@intel.com>
Change-Id: Ic794c3dead462f27fde9ab4b9dfcd2fd1d68db69
Reviewed-on: http://review.whamcloud.com/17648
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
# 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