diff options
author | Jeff King <peff@peff.net> | 2020-04-19 06:47:30 +0300 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2020-04-20 02:10:57 +0300 |
commit | 73aafe9bc27585554181c58871a25e6d0f58a3dc (patch) | |
tree | 00a5987bea9b6a1f2e6bac03235dc34016d58517 /credential.c | |
parent | a88dbd2f8c7fd8c1e2f63483da03bd6928e8791f (diff) |
t0300: use more realistic inputs
Many of the tests in t0300 give partial inputs to git-credential,
omitting a protocol or hostname. We're checking only high-level things
like whether and how helpers are invoked at all, and we don't care about
specific hosts. However, in preparation for tightening up the rules
about when we're willing to run a helper, let's start using input that's
a bit more realistic: pretend as if http://example.com is being
examined.
This shouldn't change the point of any of the tests, but do note we have
to adjust the expected output to accommodate this (filling a credential
will repeat back the protocol/host fields to stdout, and the helper
debug messages and askpass prompt will change on stderr).
Signed-off-by: Jeff King <peff@peff.net>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'credential.c')
0 files changed, 0 insertions, 0 deletions