Whamcloud - gitweb
LU-1798 test: check connect_flags for jobstats
[fs/lustre-release.git] / lustre / tests / sanity.sh
index f434a8e..ca146f6 100644 (file)
@@ -9050,6 +9050,9 @@ verify_jobstats() {
 }
 
 test_205() { # Job stats
+       [ -z "$(lctl get_param -n mdc.*.connect_flags | grep jobstats)" ] &&
+               skip "Server doesn't support jobstats" && return 0
+
        local cmd
        OLD_JOBENV=`$LCTL get_param -n jobid_var`
        if [ $OLD_JOBENV != $JOBENV ]; then