diff options
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) |