From 676a0e9696ba7550132e4501bdbf3160608faed6 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Fri, 9 Sep 2016 22:23:20 -0400 Subject: 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 --- openstackclient/tests/functional/post_test_hook.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openstackclient/tests') 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:' -- cgit v1.2.1