aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Anderson <mail@boanderson.me>2024-02-15 01:03:56 +0000
committerJunio C Hamano <gitster@pobox.com>2024-02-15 14:16:38 -0800
commit83e6eb7d7a8e9e2b6673638e9219b67659a969d3 (patch)
treeed8fb97562b6fc663e263de8fccee2180c1306ec
parentefb050becb6bc703f76382e1f1b6273100e6ace3 (diff)
downloadgit-83e6eb7d7a8e9e2b6673638e9219b67659a969d3.tar.xz
t/lib-credential: clean additional credential
71201ab0e5 (t/lib-credential.sh: ensure credential helpers handle long headers, 2023-05-01) added a test which stores credentials with the host victim.example.com but this was never cleaned up, leaving residual data in the credential store after running the tests. Add a cleanup call for this credential to resolve this issue. Signed-off-by: Bo Anderson <mail@boanderson.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--t/lib-credential.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 15fc9a31e2..44799c0d38 100644
--- a/t/lib-credential.sh
+++ b/t/lib-credential.sh
@@ -50,6 +50,7 @@ helper_test_clean() {
reject $1 https example.com user-overwrite
reject $1 https example.com user-erase1
reject $1 https example.com user-erase2
+ reject $1 https victim.example.com user
reject $1 http path.tld user
reject $1 https timeout.tld user
reject $1 https sso.tld