From 880fe1f21f4b3573c0ebde451da04ce1d57f16c7 Mon Sep 17 00:00:00 2001
From: Spencer Krum <nibz@spencerkrum.com>
Date: Wed, 19 Aug 2015 16:40:45 -0700
Subject: [PATCH] Fix target path for regular git clone during tests

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

Change-Id: Icd911cb9842a15d2ebc85dd590785c143a866612
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
---
 spec/spec_helper_acceptance.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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