Skip to content

Commit 531dd7b

Browse files
Ramsay Jonesgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fbbfc8a commit 531dd7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/t9142-git-svn-shallow-clone.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ test_expect_success 'setup test repository' '
1717
> foo &&
1818
svn_cmd add foo &&
1919
svn_cmd commit -m "add foo"
20-
)
20+
) &&
21+
start_httpd
2122
'
2223

23-
start_httpd
24-
2524
test_expect_success 'clone trunk with "-r HEAD"' '
2625
git svn clone -r HEAD "$svnrepo/trunk" g &&
2726
( cd g && git rev-parse --symbolic --verify HEAD )

0 commit comments

Comments
 (0)