Merge branch 'jc/forbid-symbolic-ref-d-HEAD' into maint
[gitweb.git] / t / t9142-git-svn-shallow-clone.sh
index 1236accd993d5bc1a80fbda720ce229f8e93940c..9ee23be64003ab22277c80a6c4b364c8cc36f902 100755 (executable)
@@ -17,11 +17,10 @@ test_expect_success 'setup test repository' '
                > foo &&
                svn_cmd add foo &&
                svn_cmd commit -m "add foo"
-       )
+       ) &&
+       maybe_start_httpd
 '
 
-start_httpd
-
 test_expect_success 'clone trunk with "-r HEAD"' '
        git svn clone -r HEAD "$svnrepo/trunk" g &&
        ( cd g && git rev-parse --symbolic --verify HEAD )