3 test_description
='external credential helper tests'
5 .
"$TEST_DIRECTORY"/lib-credential.sh
8 test -z "$GIT_TEST_CREDENTIAL_HELPER_SETUP" ||
9 eval "$GIT_TEST_CREDENTIAL_HELPER_SETUP"
11 # clean before the test in case there is cruft left
12 # over from a previous run that would impact results
13 helper_test_clean
"$GIT_TEST_CREDENTIAL_HELPER"
17 # clean afterwards so that we are good citizens
18 # and don't leave cruft in the helper's storage, which
19 # might be long-term system storage
20 helper_test_clean
"$GIT_TEST_CREDENTIAL_HELPER"
23 if test -z "$GIT_TEST_CREDENTIAL_HELPER"; then
24 say
"# skipping external helper tests (set GIT_TEST_CREDENTIAL_HELPER)"
27 helper_test
"$GIT_TEST_CREDENTIAL_HELPER"
31 if test -z "$GIT_TEST_CREDENTIAL_HELPER_TIMEOUT"; then
32 say
"# skipping external helper timeout tests"
35 helper_test_timeout
"$GIT_TEST_CREDENTIAL_HELPER_TIMEOUT"