diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-03-13 13:24:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-14 12:34:39 +0900 |
commit | 3bc2702b883030b138a8c7585d7bc9adb4b4a399 (patch) | |
tree | f7ef7e68ec29048b40e71c9e2a842db311f47e20 /t/t9828-git-p4-map-user.sh | |
parent | tests: use 'test_atexit' to stop httpd (diff) | |
download | tgif-3bc2702b883030b138a8c7585d7bc9adb4b4a399.tar.xz |
t0301-credential-cache: use 'test_atexit' to stop the credentials helper
Use 'test_atexit' to run cleanup commands to stop the credentials
helper 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/t9828-git-p4-map-user.sh')
0 files changed, 0 insertions, 0 deletions