diff options
| author | Steve Martinelli <s.martinelli@gmail.com> | 2016-09-09 22:23:20 -0400 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-09-09 22:49:35 -0400 |
| commit | 676a0e9696ba7550132e4501bdbf3160608faed6 (patch) | |
| tree | 33081f1f54f2712c096d1b9ca7c4bd69935b2dce /openstackclient | |
| parent | bee04914b8e582fb902a8d0cbd2cf6511bfe4b8b (diff) | |
| download | python-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')
| -rwxr-xr-x | openstackclient/tests/functional/post_test_hook.sh | 8 |
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:' |
