-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate LibGit2 credential test expressions #23668
Conversation
14821f4
to
38b1136
Compare
The Circle CI failure at first appears related but I think it may just be a coincidence as these tests work fine everywhere else and also worked before they were rebased.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, but I was a little unclear on a comment deletion. FWIW, it was definitely easier to follow the new code :)
@test err == git_ok | ||
@test auth_attempts == 1 | ||
|
||
# Explicitly provided credential is incorrect | ||
# TODO: Unless the SSH agent is disabled we may get caught in an infinite loop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this no longer an issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, okay, thanks.
Generate credential test expressions instead of writing them all by hand. Makes it easier to deal with refactoring.
Only possible since #23575 and #23641 were merged. Spin off of the work done in #20725.