From d870f9b79a167f202aba6ea1d68c984676b6b615 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 10 Mar 2011 16:40:44 -0800 Subject: [PATCH] Updates to automatic SPECsfs-launching script --- microbench/run-spec.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/microbench/run-spec.sh b/microbench/run-spec.sh index 074dd9f..c020ee2 100755 --- a/microbench/run-spec.sh +++ b/microbench/run-spec.sh @@ -3,10 +3,23 @@ BASEDIR=$(dirname $(which $0)) . $BASEDIR/run-common.sh + run_spec() { BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1 + SPEC_CONF=$2 $HOME/bin/s3-cleanup.py mvrable-bluesky $HOME/bin/s3-cleanup.py mvrable-bluesky-west run_cmd $PROXY cleanup-proxy run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 & + proxy_pid=$! + sleep 10 + + run_cmd $BENCHER run-specsfs + + run_cmd $PROXY stop-proxy + echo "Waiting for proxy to stop..." + wait $proxy_pid +} + +run_spec s3-west sfs_bluesky -- 2.20.1