Check if the Test-Parameters line is using the old mdsfilesystemtype=
option and ask for it to be removed. The mdtfilesystemtype= option
should be used instead.
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I52765fd94f4dec896593c86763737fa64f3ebbe5
Reviewed-on: https://review.whamcloud.com/25804
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Charlie Olmstead <charlie.olmstead@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
HAS_CHANGEID=true
}
+function do_testparams() {
+ ck_wrapup
+
+ grep -q mdsfilesystemtype <<< $LINE &&
+ error "mdsfilesystemtype is deprecated, use mdtfilesystemtype"
+}
+
# All "innocuous" lines specify a person and email address
#
function do_innocuous() {
while IFS= read -u3 LINE; do
((NUM += 1))
case "$LINE" in
- $SIGNOFF* ) do_signoff ;;
- $CHANGEID* ) do_changeid ;;
- $TESTPARAMS* ) ck_wrapup ;;
+ $SIGNOFF* ) do_signoff ;;
+ $CHANGEID* ) do_changeid ;;
+ $TESTPARAMS* ) do_testparams ;;
"")
HAS_LAST_BLANK=true
--- /dev/null
+DCO-5866 scripts: check for mdsfilesystemtype
+
+Check if the Test-Parameters line is using the old mdsfilesystemtype=
+option and ask for it to be removed. The mdtfilesystemtype= option
+should be used instead.
+
+Test-Parameters: trivial mdsfilesystemtype=zfs
+Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>