diff --git a/lustre/tests/rundbench b/lustre/tests/rundbench index 9c5371b52507d3d825588d540be3da8d32fe741b..e2fc0bf3213f3ec55ff899017d8ed6358d6472d4 100755 --- a/lustre/tests/rundbench +++ b/lustre/tests/rundbench @@ -4,6 +4,8 @@ DIR=${DIR:-$MOUNT/`hostname`} #[ -e /proc/sys/lnet/debug ] && echo 0 > /proc/sys/lnet/debug mkdir -p $DIR TGT=$DIR/client.txt +SRC=${SRC:-/usr/share/dbench/client.txt} +[ ! -s $TGT -a -s $SRC ] && echo "copying $SRC to $TGT" && cp $SRC $TGT SRC=${SRC:-/usr/lib/dbench/client.txt} [ ! -s $TGT -a -s $SRC ] && echo "copying $SRC to $TGT" && cp $SRC $TGT SRC=/usr/lib/dbench/client_plain.txt