Reorganize benchmark scripts to support running SPECsfs as well
[bluesky.git] / microbench / run-spec.sh
1 #!/bin/bash
2
3 BASEDIR=$(dirname $(which $0))
4 . $BASEDIR/run-common.sh
5
6 run_spec() {
7     BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1
8
9     $HOME/bin/s3-cleanup.py mvrable-bluesky
10     $HOME/bin/s3-cleanup.py mvrable-bluesky-west
11     run_cmd $PROXY cleanup-proxy
12     run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 &