Skip conf-sanity.sh test_83 if OST server version is older than
2.6.91.
Test-Parameters: alwaysuploadlogs testlist=conf-sanity envdefinitions=ONLY=83 ossjob=lustre-b2_5 mdsjob=lustre-b2_5 ossbuildno=86 mdsbuildno=86
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I38fe3a52586dcb4d5706b4d7c379685e09e031cc
Reviewed-on: http://review.whamcloud.com/14534
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
run_test 82b "specify OSTs for file with --pool and --ost-list options"
test_83() {
- local dev
- local ostmnt
- local fstype
- local mnt_opts
-
+ [[ $(lustre_version_code ost1) -ge $(version_code 2.6.91) ]] ||
+ { skip "Need OST version at least 2.6.91" && return 0; }
if [ $(facet_fstype $SINGLEMDS) != ldiskfs ]; then
skip "Only applicable to ldiskfs-based MDTs"
return
fi
+ local dev
+ local ostmnt
+ local fstype
+ local mnt_opts
+
dev=$(ostdevname 1)
ostmnt=$(facet_mntpt ost1)
fstype=$(facet_fstype ost1)