1#!/bin/sh 2 3test_description='credential-cache tests' 4. ./test-lib.sh 5. "$TEST_DIRECTORY"/lib-credential.sh 6 7# don't leave a stale daemon running 8trap'code=$?; git credential-cache exit; (exit$code); die' EXIT 9 10helper_test cache 11helper_test_timeout cache --timeout=1 12 13# we can't rely on our "trap" above working after test_done, 14# as test_done will delete the trash directory containing 15# our socket, leaving us with no way to access the daemon. 16git credential-cache exit 17 18test_done