Skip to content

Commit 83e6eb7

Browse files
Bo98gitster
authored andcommitted
t/lib-credential: clean additional credential
71201ab (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent efb050b commit 83e6eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/lib-credential.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ helper_test_clean() {
5050
reject $1 https example.com user-overwrite
5151
reject $1 https example.com user-erase1
5252
reject $1 https example.com user-erase2
53+
reject $1 https victim.example.com user
5354
reject $1 http path.tld user
5455
reject $1 https timeout.tld user
5556
reject $1 https sso.tld

0 commit comments

Comments
 (0)