> > > +test_expect_success 'credential-cache --socket option overrides default
> > > location' '
> > > + test_when_finished "rm -rf \"$HOME\"/dir/" &&
> > > + check approve "cache --socket \"$HOME/dir/socket\"" <<-\EOF &&
> > > + protocol=https
> > > + host=example.com
> > > + username=store-user
On Thu, Mar 16, 2017 at 09:29:58AM -0700, Junio C Hamano wrote:
> Devin Lehmacher writes:
>
> > @@ -20,4 +21,67 @@ helper_test_timeout cache --timeout=1
> > # our socket, leaving us with no way to access the daemon.
> > git credential-cache exit
> >
> > +# we need to use rm -rf here since so
Devin Lehmacher writes:
> @@ -20,4 +21,67 @@ helper_test_timeout cache --timeout=1
> # our socket, leaving us with no way to access the daemon.
> git credential-cache exit
>
> +# we need to use rm -rf here since sometimes the daemon hasn't finished
> +# cleaning up after itself and rmdir fail
Signed-off-by: Devin Lehmacher
---
t/t0301-credential-cache.sh | 64 +
1 file changed, 64 insertions(+)
diff --git a/t/t0301-credential-cache.sh b/t/t0301-credential-cache.sh
index 82c841121..664c6dda1 100755
--- a/t/t0301-credential-cache.sh
+++ b/t/t
4 matches
Mail list logo