diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-06 19:35:57 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-09-06 19:35:57 +0530 |
commit | b7a8d9a42edd69b757f2f763d24571600a3c19a9 (patch) | |
tree | 260cb009d20f1749e5cf5bcf37c48c278d2cee1e /run.sh | |
parent | 97a1d07e7031e2bb535f8d54b2fcd7d7886a53ca (diff) |
some changes for the regression framework and regression testcases for some bugs
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |