Code

t0303: immediately bail out w/o GIT_TEST_CREDENTIAL_HELPER
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Mar 2012 11:08:00 +0000 (12:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2012 17:50:45 +0000 (10:50 -0700)
commit16e44810c9602bd7ed494f24c27eec193ff6a674
treeb1ef85da0f4cedcf62c8fd8db8826f3be92de84b
parenta46034819ecce6872bff099f3d75589f4d38c00c
t0303: immediately bail out w/o GIT_TEST_CREDENTIAL_HELPER

t0300-credential-helpers.sh requires GIT_TEST_CREDENTIAL_HELPER to be
configured to do something sensible. If it is not set, prove will say:
  ./t0303-credential-external.sh .. skipped: (no reason given)
which isn't very nice.

Use skip_all="..." && test_done to bail out immediately and provide a
nicer message. In case GIT_TEST_CREDENTIAL_HELPER is set, but the
timeout tests are skipped, mention GIT_TEST_CREDENTIAL_HELPER_TIMEOUT.

Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0303-credential-external.sh