summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/functional')
-rwxr-xr-xopenstackclient/tests/functional/post_test_hook.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/tests/functional/post_test_hook.sh b/openstackclient/tests/functional/post_test_hook.sh
index e555470d..b7a39cfe 100755
--- a/openstackclient/tests/functional/post_test_hook.sh
+++ b/openstackclient/tests/functional/post_test_hook.sh
@@ -18,16 +18,16 @@ function generate_testr_results {
fi
}
-OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd)
+export OPENSTACKCLIENT_DIR="$BASE/new/python-openstackclient"
sudo chown -R jenkins:stack $OPENSTACKCLIENT_DIR
+# Go to the openstackclient dir
+cd $OPENSTACKCLIENT_DIR
+
# Run tests
echo "Running openstackclient functional test suite"
set +e
-# Go to the openstackclient dir
-cd $OPENSTACKCLIENT_DIR
-
# Source environment variables to kick things off
source ~stack/devstack/openrc admin admin
echo 'Running tests with:'