summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorSteve Martinelli <s.martinelli@gmail.com>2016-09-09 22:23:20 -0400
committerSteve Martinelli <s.martinelli@gmail.com>2016-09-09 22:49:35 -0400
commit676a0e9696ba7550132e4501bdbf3160608faed6 (patch)
tree33081f1f54f2712c096d1b9ca7c4bd69935b2dce /openstackclient/tests
parentbee04914b8e582fb902a8d0cbd2cf6511bfe4b8b (diff)
downloadpython-openstackclient-676a0e9696ba7550132e4501bdbf3160608faed6.tar.gz
unwedge the gate
since changing the infra job to call the new bash script location, the functional tests now have a permission error: py.error.EACCES: [Permission denied]: mkdir('/opt/stack/new/python-openstackclient/.tox',) Change-Id: Ibe7057c99feac952d80156fb996d0193e1b0e497
Diffstat (limited to 'openstackclient/tests')
-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:'