This website requires JavaScript.
Explore
Help
Sign In
undef
/
git-commit-vandalism
Watch
1
Star
0
Fork
0
You've already forked git-commit-vandalism
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
fd9de868c3
git-commit-vandalism
/
t
/
lib-httpd
/
passwd
2 lines
24 B
Plaintext
Raw
Normal View
History
Unescape
Escape
use distinct username/password for http auth tests The httpd server we set up to test git's http client code knows about a single account, in which both the username and password are "user@host" (the unusual use of the "@" here is to verify that we handle the character correctly when URL escaped). This means that we may miss a certain class of errors in which the username and password are mixed up internally by git. We can make our tests more robust by having distinct values for the username and password. In addition to tweaking the server passwd file and the client URL, we must teach the "askpass" harness to accept multiple values. As a bonus, this makes the setup of some tests more obvious; when we are expecting git to ask only about the password, we can seed the username askpass response with a bogus value. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-01-02 08:38:35 +01:00
user@host:xb4E8pqD81KQs
Reference in New Issue
Copy Permalink