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.."
# 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"