Whamcloud - gitweb
LU-12488 tests: Fix sanityn 93 for DNE configs
[fs/lustre-release.git] / lustre / tests / run-llog.sh
index 7c34dc6..d8da4fc 100644 (file)
@@ -12,7 +12,7 @@ set -x
 MGS=$($LCTL dl | awk '/mgs/ { print $4 }')
 [ -z "$MGS" ] && echo "$0: SKIP: no MGS available, skipping llog test" && exit 0
 
-load_module obdclass/llog_test || exit 0
+load_module obdclass/llog_test || exit 1
 $LCTL modules > $TMP/ogdb-$(hostname)
 echo "NOW reload debugging syms.."
 
@@ -20,9 +20,9 @@ RC=0
 # Using ignore_errors will allow lctl to cleanup even if the test fails.
 eval "$LCTL <<-EOF || RC=2
        attach llog_test llt_name llt_uuid
+       ignore_errors
        setup $MGS
        device llt_name
-       ignore_errors
        cleanup
        detach
 EOF"