From: Jian Yu Date: Wed, 3 Aug 2016 01:09:50 +0000 (-0700) Subject: LU-8473 tests: skip conf-sanity test 41a with separate MGT and MDT X-Git-Tag: 2.8.57~33 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=14b23d67a71cf2aa0b571553171a0894c73f11e6 LU-8473 tests: skip conf-sanity test 41a with separate MGT and MDT conf-sanity test 41a is to test “nosvc” and “nomgs” mount options on a combined MGT/MDT device. It’s not applicable for separate MGT and MDT configuration. This patch adds codes to check that. Test-Parameters: trivial combinedmdsmgs=false envdefinitions=ONLY=41a testlist=conf-sanity Test-Parameters: trivial envdefinitions=ONLY=41a testlist=conf-sanity Signed-off-by: Jian Yu Change-Id: I967f63c70953c7c8e5bb296e832ee5335e56f69c Reviewed-on: http://review.whamcloud.com/21651 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 89a945b..78bbc2f 100755 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -2810,7 +2810,8 @@ test_41a() { #bug 14134 return fi - local MDSDEV=$(mdsdevname ${SINGLEMDS//mds/}) + combined_mgs_mds || + { skip "needs combined MGT and MDT device" && return 0; } start_mdt 1 -o nosvc -n if [ $MDSCOUNT -ge 2 ]; then