Whamcloud - gitweb
b=19262
authorgrev <grev>
Sat, 25 Apr 2009 09:36:24 +0000 (09:36 +0000)
committergrev <grev>
Sat, 25 Apr 2009 09:36:24 +0000 (09:36 +0000)
i=Robert.Read
include functions.sh properly

lustre/tests/test-framework.sh

index d5a40eb..01be3b4 100644 (file)
@@ -14,7 +14,8 @@ export CATASTROPHE=${CATASTROPHE:-/proc/sys/lnet/catastrophe}
 #export PDSH="pdsh -S -Rssh -w"
 
 # function used by scripts run on remote nodes
-. $(dirname $0)/functions.sh
+LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
+. $LUSTRE/tests/functions.sh
 
 assert_DIR () {
     local failed=""