diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-03-13 13:24:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-14 12:34:39 +0900 |
commit | 8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4 (patch) | |
tree | af53f193791f56d0e6e7ca2bd3b850ed15306055 /t/t5500-fetch-pack.sh | |
parent | git-daemon: use 'test_atexit` to stop 'git-daemon' (diff) | |
download | tgif-8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4.tar.xz |
tests: use 'test_atexit' to stop httpd
Use 'test_atexit' to run cleanup commands to stop httpd at the end of
the test script or upon interrupt or failure, as it is shorter,
simpler, and more robust than registering such cleanup commands in the
trap on EXIT in the test scripts.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5500-fetch-pack.sh')
-rwxr-xr-x | t/t5500-fetch-pack.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/t/t5500-fetch-pack.sh b/t/t5500-fetch-pack.sh index 49c540b1e1..32426fa5d1 100755 --- a/t/t5500-fetch-pack.sh +++ b/t/t5500-fetch-pack.sh @@ -918,7 +918,4 @@ test_expect_success 'fetch with --filter=blob:limit=0 and HTTP' ' fetch_filter_blob_limit_zero "$HTTPD_DOCUMENT_ROOT_PATH/server" "$HTTPD_URL/smart/server" ' -stop_httpd - - test_done |