X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fconf-sanity.sh;h=48d84a8d4c5f61301a95879a53a882ff8ef4ac63;hp=ed385154e8453a4fcf91e5e3ef7475b5b05428c1;hb=61138e82b52b19ab2a73398c2a238410ed559198;hpb=09c558d16f0a80f436522edde89367c088fe2055;ds=sidebyside diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index ed38515..48d84a8 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -596,6 +596,27 @@ test_9() { } run_test 9 "test ptldebug and subsystem for mkfs" +test_10a() { + setup + + if ! combined_mgs_mds; then + files=$(do_facet mgs "find /{proc/fs,sys/fs,sys/kernel/debug}/lustre -type l -exec test ! -e {} \; -print") + [ -z $files ] || echo "MGS $files is a broken symlink" + fi + + files=$(do_facet mds1 "find /{proc/fs,sys/fs,sys/kernel/debug}/lustre -type l -exec test ! -e {} \; -print") + [ -z $files ] || echo "MDS $files is a broken symlink" + + files=$(do_facet ost1 "find /{proc/fs,sys/fs,sys/kernel/debug}/lustre -type l -exec test ! -e {} \; -print") + [ -z $files ] || echo "OSS $files is a broken symlink" + + files=$(do_facet client "find /{proc/fs,sys/fs,sys/kernel/debug}/lustre -type l -exec test ! -e {} \; -print") + [ -z $files ] || echo "clients $files is a broken symlink" + + cleanup || error "cleanup failed with rc $?" +} +run_test 10a "find lctl param broken symlinks" + # # 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