Fix target path for regular git clone during tests

Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I32b5940dd65667b2b6624ee904274576e3623d7c
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
This commit is contained in:
Spencer Krum 2015-08-19 16:42:55 -07:00
parent 6ba1a56b65
commit 9e5900727f

View File

@ -42,7 +42,7 @@ RSpec.configure do |c|
zuul_clone_cmd += "git://git.openstack.org #{repo}" zuul_clone_cmd += "git://git.openstack.org #{repo}"
on host, zuul_clone_cmd on host, zuul_clone_cmd
else else
on host, "git clone https://git.openstack.org/#{repo}" on host, "git clone https://git.openstack.org/#{repo} #{repo}"
end end
on host, "ZUUL_REF=#{zuul_ref} ZUUL_BRANCH=#{zuul_branch} ZUUL_URL=#{zuul_url} bash #{repo}/tools/install_modules_acceptance.sh" on host, "ZUUL_REF=#{zuul_ref} ZUUL_BRANCH=#{zuul_branch} ZUUL_URL=#{zuul_url} bash #{repo}/tools/install_modules_acceptance.sh"