diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-12-14 18:20:38 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-14 11:07:52 -0800 |
commit | 531dd7bbf4e579334cddb5be54af94c8d339df10 (patch) | |
tree | 36a0566ce7edfe2703acc072ca69e28631965b90 /t/t9142-git-svn-shallow-clone.sh | |
parent | fbbfc8a9bb91ddd325995cc346eab91c06c9cd64 (diff) | |
download | git-531dd7bbf4e579334cddb5be54af94c8d339df10.tar.gz git-531dd7bbf4e579334cddb5be54af94c8d339df10.tar.xz |
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>
Diffstat (limited to 't/t9142-git-svn-shallow-clone.sh')
-rwxr-xr-x | t/t9142-git-svn-shallow-clone.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t9142-git-svn-shallow-clone.sh b/t/t9142-git-svn-shallow-clone.sh index 1236accd9..e21ee5f66 100755 --- a/t/t9142-git-svn-shallow-clone.sh +++ b/t/t9142-git-svn-shallow-clone.sh @@ -17,11 +17,10 @@ test_expect_success 'setup test repository' ' > foo && svn_cmd add foo && svn_cmd commit -m "add foo" - ) + ) && + 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 ) |