Whamcloud - gitweb
LU-434 Add comment for $SHARED_DIRECTORY variable
[fs/lustre-release.git] / lustre / tests / cfg / ncli.sh
index a3fff9f..5e97660 100644 (file)
@@ -11,14 +11,18 @@ init_clients_lists
 
 [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true
 
-MPIBIN=${MPIBIN:-/testsuite/tests/`arch`/bin}
-export PATH=:$PATH:$MPIBIN
-MPIRUN=$(which mpirun) || true
-MPI_USER=${MPI_USER:-mpiuser}
-
 # for recovery scale tests
 # default boulder cluster iozone location
 export PATH=/opt/iozone/bin:$PATH
+
+# This is used by a small number of tests to share state between the client
+# running the tests, or in some cases between the servers (e.g. lfsck.sh).
+# It needs to be a non-lustre filesystem that is available on all the nodes.
 SHARED_DIRECTORY=${SHARED_DIRECTORY:-""}       # bug 17839 comment 65
-LOADS="dd tar dbench iozone"
+
+LOADS=${LOADS:-"dd tar dbench iozone"}
+for i in $LOADS; do
+    [ -f $LUSTRE/tests/run_${i}.sh ] || \
+        error "incorrect load: $i"
+done
 CLIENT_LOADS=($LOADS)