t0300-credential-helpers.sh runs two sets of tests. Each set is controlled by an environment variable and is skipped if the variable is not defined. If both sets are skipped, prove will say: ./t0303-credential-external.sh .. skipped: (no reason given) which isn't very nice. Use skip_all="..." to set the reason when both sets are skipped. Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> --- t/t0303-credential-external.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/t/t0303-credential-external.sh b/t/t0303-credential-external.sh index 267f4c8..f1e0e75 100755 --- a/t/t0303-credential-external.sh +++ b/t/t0303-credential-external.sh @@ -21,7 +21,7 @@ post_test() { } if test -z "$GIT_TEST_CREDENTIAL_HELPER"; then - say "# skipping external helper tests (set GIT_TEST_CREDENTIAL_HELPER)" + say "# skipping external helper tests (GIT_TEST_CREDENTIAL_HELPER not set)" else pre_test helper_test "$GIT_TEST_CREDENTIAL_HELPER" @@ -29,11 +29,16 @@ else fi if test -z "$GIT_TEST_CREDENTIAL_HELPER_TIMEOUT"; then - say "# skipping external helper timeout tests" + say "# skipping external helper timeout tests (GIT_TEST_CREDENTIAL_HELPER_TIMEOUT not set)" else pre_test helper_test_timeout "$GIT_TEST_CREDENTIAL_HELPER_TIMEOUT" post_test fi +if test -z "$GIT_TEST_CREDENTIAL_HELPER" \ + -o -z "$GIT_TEST_CREDENTIAL_HELPER_TIMEOUT"; then + skip_all="used to test external credential helpers" +fi + test_done -- 1.7.9.3.467.g8f1c7 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html