diff options
author | Todd Zullinger <tmz@pobox.com> | 2017-12-01 10:56:53 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-14 10:41:55 -0800 |
commit | bf9d7df950cd2c33b0e4e80386ba6140448a8a57 (patch) | |
tree | 91f37a818b058dad4c8a8ba47812827fb4a5d34a /alias.c | |
parent | 78109771053976350d76df6aaad1fcdb09873a7c (diff) | |
download | git-bf9d7df950cd2c33b0e4e80386ba6140448a8a57.tar.gz |
t/lib-git-svn.sh: improve svnserve tests with parallel make testtz/lib-git-svn-svnserve-tests
Setting SVNSERVE_PORT enables several tests which require a local
svnserve daemon to be run (in t9113 & t9126). The tests share setup of
the local svnserve via `start_svnserve()`. The function uses svnserve's
`--listen-once` option, which causes svnserve to accept one connection
on the port, serve it, and exit. When running the tests in parallel
this fails if one test tries to start svnserve while the other is still
running.
Use the test number as the svnserve port (similar to httpd tests) to
avoid port conflicts. Developers can set GIT_TEST_SVNSERVE to any value
other than 'false' or 'auto' to enable these tests.
Acked-by: Eric Wong <e@80x24.org>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions