summaryrefslogtreecommitdiff
path: root/t/t9118-git-svn-funky-branch-names.sh
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2019-03-13 12:24:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-14 03:34:39 (GMT)
commit8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4 (patch)
treeaf53f193791f56d0e6e7ca2bd3b850ed15306055 /t/t9118-git-svn-funky-branch-names.sh
parent9f82b2a6a754c7cec37282d954208b4b429a3a05 (diff)
downloadgit-8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4.zip
git-8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4.tar.gz
git-8c3b9f7faa4f39ddb89be229b706d4a9f9c659a4.tar.bz2
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/t9118-git-svn-funky-branch-names.sh')
-rwxr-xr-xt/t9118-git-svn-funky-branch-names.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t9118-git-svn-funky-branch-names.sh b/t/t9118-git-svn-funky-branch-names.sh
index 41a0266..a159ff9 100755
--- a/t/t9118-git-svn-funky-branch-names.sh
+++ b/t/t9118-git-svn-funky-branch-names.sh
@@ -87,6 +87,4 @@ test_expect_success 'test dcommit to trailing_dotlock branch' '
)
'
-stop_httpd
-
test_done