fix int tests

The sym link was not working, looks like the permissions have
changed a bit.  Using sudo to create the sym-link seems to
do the trick.  I'm leaviing in the dir outputs for future
debugging.

Change-Id: I9d2dc9fcdd8f21f49da2a7fc35090c60221b80a3
This commit is contained in:
Mark Vanderwiel 2016-02-24 10:46:07 -06:00
parent 7fb9e8e167
commit 8eda8ed119
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ task :common_integration do
# to workspace/cookbook-openstack-common
patch_dir = Dir.pwd
patch_dir_berks = ENV['ZUUL_PROJECT'].split('/')[1]
sh %(ln -s #{patch_dir} ../#{patch_dir_berks})
sh %(ls -la ..)
sh %(ls -la ../..)
sh %(sudo ln -s #{patch_dir} ../#{patch_dir_berks})
sh %(git clone --depth 1 git://github.com/stackforge/openstack-chef-repo.git ../openstack-chef-repo)
Dir.chdir('../openstack-chef-repo') do