[PATCH] t/lib-credential: clean additional credential
From: Bo Anderson via GitGitGadget <hidden>
Date: 2024-02-15 01:04:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Bo Anderson via GitGitGadget <hidden>
Date: 2024-02-15 01:04:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Bo Anderson <redacted>
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 <redacted>
---
t/lib-credential: clean additional credential
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1664%2FBo98%2Ft-credential-missing-clean-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1664/Bo98/t-credential-missing-clean-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1664
t/lib-credential.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/lib-credential.sh b/t/lib-credential.sh
index 15fc9a31e2c..44799c0d38f 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
base-commit: efb050becb6bc703f76382e1f1b6273100e6ace3 -- gitgitgadget