summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-06 19:43:11 +0530
committerRaghavendra Bhat <raghavendrabhat@gluster.com>2011-09-06 19:43:11 +0530
commit8904b7e4958f886afc48108504bd558703930b48 (patch)
tree7c38efd9f9ebb0024a1019b931f51fd0b9498f40 /run.sh
parentb1f10e01c5db3cba20144e43ad9d68b5e22b02d2 (diff)
some changes in the regression framework and testcases for some bugs
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 0801999..ddce608 100755
--- a/run.sh
+++ b/run.sh
@@ -29,8 +29,10 @@ _init ()
exit;
}
- source ./regression_helpers
+ export cwd=$(dirname $0);
+ source $cwd/regression_helpers
export GLUSTERD=$1
+
bug_id=;
if [ $# -eq 2 ]; then
bug_id=$2;
@@ -39,6 +41,7 @@ _init ()
export glusterd_conf="/etc/glusterd";
export GLUSTERFSDIR=$(dirname $GLUSTERD);
+ export GLUSTERDIR=$(dirname $GLUSTERFSDIR);
export VERSION_STR=$($GLUSTERD --version) 2>&1 1>/dev/null
export VERSION=$(echo $VERSION_STR|cut -d " " -f 2)