summaryrefslogtreecommitdiffstats
path: root/perf-framework/setrun
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-02-18 10:36:44 -0800
committerGerrit Code Review <root@dev.gluster.com>2012-02-18 10:36:44 -0800
commit6ed4ac470d7aaddd05ce179bc304ef688f5553aa (patch)
tree095187e0649d88c226563f41f19a6fba0b4a156e /perf-framework/setrun
parent4de9a1a4df6667a59dd36148167d7ea188c69831 (diff)
parentdb468693ef5faa294d9bc3cd3c5d70c0d99d488b (diff)
Merge "Adding the performance framework to the qa repo"
Diffstat (limited to 'perf-framework/setrun')
-rwxr-xr-xperf-framework/setrun14
1 files changed, 14 insertions, 0 deletions
diff --git a/perf-framework/setrun b/perf-framework/setrun
new file mode 100755
index 0000000..7992051
--- /dev/null
+++ b/perf-framework/setrun
@@ -0,0 +1,14 @@
+#!/bin/bash -u
+
+function usage()
+{
+ echo "Usage : $0 <gluster_release_tarball>"
+ exit 1
+}
+
+if [ $# -ne 1 ]
+then
+ usage
+fi
+
+sed -i "s/^RELEASE_TARBALL=.*$/RELEASE_TARBALL=$1/" gf_perf_config