diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-01-18 22:49:56 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 22:49:56 +0100 |
commit | 3fe47ff44441de609d76fcd2dd510f66b6d84353 (patch) | |
tree | a193c37b3414ee133058e3c34ce3901c6fabfb70 /t/lib-git-daemon.sh | |
parent | Merge branch 'rs/sha1-file-close-mapped-file-on-error' (diff) | |
parent | test-lib: add the '--stress' option to run a test repeatedly under load (diff) | |
download | git-3fe47ff44441de609d76fcd2dd510f66b6d84353.tar.xz git-3fe47ff44441de609d76fcd2dd510f66b6d84353.zip |
Merge branch 'sg/stress-test'
Flaky tests can now be repeatedly run under load with the
"--stress" option.
* sg/stress-test:
test-lib: add the '--stress' option to run a test repeatedly under load
test-lib-functions: introduce the 'test_set_port' helper function
test-lib: set $TRASH_DIRECTORY earlier
test-lib: consolidate naming of test-results paths
test-lib: parse command line options earlier
test-lib: parse options in a for loop to keep $@ intact
test-lib: extract Bash version check for '-x' tracing
test-lib: translate SIGTERM and SIGHUP to an exit
Diffstat (limited to 't/lib-git-daemon.sh')
-rw-r--r-- | t/lib-git-daemon.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-git-daemon.sh b/t/lib-git-daemon.sh index fd41229a8f..79db3b7ae5 100644 --- a/t/lib-git-daemon.sh +++ b/t/lib-git-daemon.sh @@ -28,7 +28,7 @@ then test_skip_or_die $GIT_TEST_GIT_DAEMON "file system does not support FIFOs" fi -LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-${this_test#t}} +test_set_port LIB_GIT_DAEMON_PORT GIT_DAEMON_PID= GIT_DAEMON_DOCUMENT_ROOT_PATH="$PWD"/repo |