3 test_description='credential-cache tests'
5 . "$TEST_DIRECTORY"/lib-credential.sh
7 test -z "$NO_UNIX_SOCKETS" || {
8 skip_all='skipping credential-cache tests, unix sockets not available'
12 # don't leave a stale daemon running
13 trap 'code=$?; git credential-cache exit; (exit $code); die' EXIT
16 helper_test_timeout cache --timeout=1
18 # we can't rely on our "trap" above working after test_done,
19 # as test_done will delete the trash directory containing
20 # our socket, leaving us with no way to access the daemon.
21 git credential-cache exit