Signed-off-by: Felipe Contreras <felipe.contre...@gmail.com>
---
 t/t5810-remote-hg.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/t/t5810-remote-hg.sh b/t/t5810-remote-hg.sh
index 594a0a1..ba8b2d8 100755
--- a/t/t5810-remote-hg.sh
+++ b/t/t5810-remote-hg.sh
@@ -105,17 +105,18 @@ setup () {
 
 setup
 
-test_expect_success 'cloning' '
-       test_when_finished "rm -rf gitrepo*" &&
-
+test_expect_success 'setup' '
        (
        hg init hgrepo &&
        cd hgrepo &&
        echo zero >content &&
        hg add content &&
        hg commit -m zero
-       ) &&
+       )
+'
 
+test_expect_success 'cloning' '
+       test_when_finished "rm -rf gitrepo*" &&
        git clone "hg::hgrepo" gitrepo &&
        check gitrepo HEAD zero
 '
-- 
1.9.2+fc1.3.gade8541

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to