Whamcloud - gitweb
LU-14179 lfs: avoid lfs find error with long paths
[fs/lustre-release.git] / lustre / tests / run-llog.sh
index edc582f..96cb825 100644 (file)
@@ -1,11 +1,9 @@
 #!/bin/bash
 
-LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
+LUSTRE=${LUSTRE:-$(dirname $0)/..}
 . $LUSTRE/tests/test-framework.sh
 init_test_env $@
-. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
-PATH=$(dirname $0):$LUSTRE/utils:$PATH
 TMP=${TMP:-/tmp}
 
 set -x
@@ -20,9 +18,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"