Whamcloud - gitweb
LU-11607 tests: replace lustre_version in mds-survey/pcc/sec
[fs/lustre-release.git] / lustre / tests / mds-survey.sh
index 3d1ca65..93715b2 100644 (file)
@@ -13,8 +13,8 @@ build_test_filter
 MDSSURVEY=${MDSSURVEY:-$(which mds-survey 2>/dev/null || true)}
 [ -z ${MDSSURVEY} ] && skip_env "mds-survey not found"
 
-if [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.3.51) ]; then
-       skip_env "Need MDS version at least 2.3.51"
+if [ "$MDS1_VERSION" -lt $(version_code 2.3.51) ]; then
+       skip "Need MDS version at least 2.3.51"
 fi
 
 file_count=${file_count:-150000}