X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fconf-sanity.sh;h=9da812a85c78271be7ac78722d83dc857e8242bd;hp=2114e786f672bb386fe6dd0e921ad5a839feba25;hb=79ad5a35f17416535fc3377c390a2326f5a77d91;hpb=88850e0c8eb2a0ac9d454d47dcbae70fd636f13d diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 2114e78..9da812a 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -430,41 +430,11 @@ test_9() { } run_test 9 "test ptldebug and subsystem for mkfs" -# LOGS/PENDING do not exist anymore since CMD3 -test_16() { - local TMPMTPT="${TMP}/conf16" - local MDSDEV=$(mdsdevname ${SINGLEMDS//mds/}) - - if [ ! -e "$MDSDEV" ]; then - log "no $MDSDEV existing, so mount Lustre to create one" - setup - check_mount || return 41 - cleanup || return $? - fi - - [ -f "$MDSDEV" ] && LOOPOPT="-o loop" - - log "change the mode of $MDSDEV/OBJECTS to 555" - do_facet $SINGLEMDS "mkdir -p $TMPMTPT && - mount $LOOPOPT -t $FSTYPE $MDSDEV $TMPMTPT && - chmod 555 $TMPMTPT/OBJECTS && - umount $TMPMTPT" || return $? - - log "mount Lustre to change the mode of OBJECTS, then umount Lustre" - setup - check_mount || return 41 - cleanup || return $? - - log "read the mode of OBJECTS and check if they has been changed properly" - EXPECTEDOBJECTSMODE=`do_facet $SINGLEMDS "$DEBUGFS -R 'stat OBJECTS' $MDSDEV 2> /dev/null" | grep 'Mode: ' | sed -e "s/.*Mode: *//" -e "s/ *Flags:.*//"` - - if [ "$EXPECTEDOBJECTSMODE" = "0777" ]; then - log "Success:Lustre change the mode of OBJECTS correctly" - else - error "Lustre does not change mode of OBJECTS properly" - fi -} -run_test 16 "verify that lustre will correct the mode of OBJECTS" +# +# Test 16 was to "verify that lustre will correct the mode of OBJECTS". +# But with new MDS stack we don't care about the mode of local objects +# anymore, so this test is removed. See bug 22944 for more details. +# test_17() { local MDSDEV=$(mdsdevname ${SINGLEMDS//mds/})