From: Felipe Contreras Date: Tue, 29 Apr 2014 09:04:32 GMT Subject: [PATCH 5/8] t: remote-hg: split into setup test Message-ID: <1398762275-346-6-git-send-email-felipe.contreras@gmail.com> In-Reply-To: <1398762275-346-1-git-send-email-felipe.contreras@gmail.com> Signed-off-by: Felipe Contreras --- 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