@matheusbsbs / matheus-bagliano / commits / 531dd7bbf4
Fork 0

t9142: Move call to start_httpd into the setup test

In addition to being more consistent with the other calls to start_httpd in tests t9115-*.sh, t9118-*.sh and t9120-*.sh, this has the added benefit of making the test less noisy. (start_httpd writes "SVN_HTTPD_PORT is not defined!" on stderr.) Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Dec 14, 2010 at 18:20 UTC 531dd7bbf4e579334cddb5be54af94c8d339df10
1 file changed +2 -3
t/t9142-git-svn-shallow-clone.sh
+2 -3
@@ -17,11 +17,10 @@ test_expect_success 'setup test repository' '
17 > foo &&
18 svn_cmd add foo &&
19 svn_cmd commit -m "add foo"
20 - )
20 + ) &&
21 + start_httpd
22 '
23
23 -start_httpd
24 -
24 test_expect_success 'clone trunk with "-r HEAD"' '
25 git svn clone -r HEAD "$svnrepo/trunk" g &&
26 ( cd g && git rev-parse --symbolic --verify HEAD )