X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Frpc.sh;h=ec7533c538d97c915f6a8be23842fd2509487974;hp=a5831c8f5af7232e13e3d1b69250db296d72117b;hb=5290c48735290a0920d804daa7f428bb0df655c2;hpb=d6ce546eb7e250237141d3a11380f9d5389c50eb diff --git a/lustre/tests/rpc.sh b/lustre/tests/rpc.sh index a5831c8..ec7533c 100755 --- a/lustre/tests/rpc.sh +++ b/lustre/tests/rpc.sh @@ -1,16 +1,13 @@ #!/bin/bash -export PATH=`dirname $0`/../utils:$PATH -NAME=${NAME:-local} -LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} +LUSTRE=${LUSTRE:-$(dirname $0)/..} if [ ! -f $LUSTRE/tests/rpc.sh ]; then - LUSTRE=$(cd $(dirname $(which $0))/..; echo $PWD) + LUSTRE=$(cd $(dirname $(which $0))/..; echo $PWD) fi . $LUSTRE/tests/test-framework.sh RPC_MODE=true init_test_env -. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh} # Reset the trap on ERR set by the framework. Noticing this failure is the # framework's job.