X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Frun-llog.sh;h=d8da4fcee47891802d21d1f90b1ed4127b87dd6d;hb=98e7614b9f422d45f5d1789eb550d1b7947522b1;hp=7c34dc6b6bf27d21e62d7c77295c35324f44f7f7;hpb=c49c8b146fdb45ef621fbba288758611c6d35cf3;p=fs%2Flustre-release.git diff --git a/lustre/tests/run-llog.sh b/lustre/tests/run-llog.sh index 7c34dc6b..d8da4fc 100644 --- a/lustre/tests/run-llog.sh +++ b/lustre/tests/run-llog.sh @@ -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"