Re: [PATCH 10/13] credentials: add "cache" helper
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 29, 2011, 00:42 UTC
- Message-ID
- <7vr50ru5d3.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20111124110710.GH8417@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 22 quoted lines
> diff --git a/t/lib-credential.sh b/t/lib-credential.sh
> index 54ae1f4..ac54b38 100755
> --- a/t/lib-credential.sh
> +++ b/t/lib-credential.sh
> @@ -21,6 +21,225 @@ read_chunk() {
> ...
> + test_expect_success "helper ($HELPER) can forget user" '
> + check reject $HELPER <<-\EOF &&
> + protocol=https
> + host=example.com
> + username=user1
> + EOF
> + check fill $HELPER <<-\EOF
> + protocol=https
> + host=example.com
> + username=user1
> + --
> + username=user1
> + password=askpass-password
> + --
> + askpass: Password for '\''https://user1@example.com'\'':
> + 'Missing EOF for here document; I fixed this already in 'pu', but please squash it in when rerolling after 1.7.8 final.