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

lustre/tests/test-framework.sh

index 472ed5c..3bac343 100644 (file)
@@ -19,7 +19,8 @@ export IDENTITY_UPCALL=default
 #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=""