o=Brian.Murrell
i=grev
rundbench is a bash script;
obdfilter-survey is a bash script;
don't su if MPI_USER == "";
local rc
$LFS df -i
- if [ "$MPI_USER" != root -a $mpirun ]; then
+ if [ -n "$MPI_USER" -a "$MPI_USER" != root -a -n "$mpirun" ]; then
echo "+ chmod 0777 $MOUNT"
chmod 0777 $MOUNT
command="su $MPI_USER sh -c \"$command \""
rm -f ${TMP}/obdfilter_survey*
local targets=$(obdflter_survey_targets $case)
- local cmd="NETTYPE=$NETTYPE thrlo=$thrlo nobjhi=$nobjhi thrhi=$thrhi size=$size case=$case rslt_loc=${TMP} targets=\"$targets\" sh $OBDSURVEY"
+ local cmd="NETTYPE=$NETTYPE thrlo=$thrlo nobjhi=$nobjhi thrhi=$thrhi size=$size case=$case rslt_loc=${TMP} targets=\"$targets\" $OBDSURVEY"
echo + $cmd
eval $cmd
-#!/bin/sh
+#!/bin/bash
LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
. $LUSTRE/tests/test-framework.sh