Re: [PATCH v4 01/11] add fetch-pack --diag-url tests for some corner cases
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- May 3, 2016, 16:07 UTC
- Message-ID
- <8cd2cf72-6e13-baa0-8bdf-d69293ba661f@web.de>
- In-Reply-To
- <1462265452-32360-2-git-send-email-mh@glandium.org>
On 2016-05-03 10.50, Mike Hommey wrote:
Show 10 quoted lines
> diff --git a/t/t5500-fetch-pack.sh b/t/t5500-fetch-pack.sh
> index e5f83bf..1f0133f 100755
> --- a/t/t5500-fetch-pack.sh
> +++ b/t/t5500-fetch-pack.sh
> @@ -569,12 +569,27 @@ check_prot_host_port_path () {
> test_cmp expected actual
> }
>
> -for r in repo re:po re/po
> +test_maybe_fail () {test_may_fail sounds non-deterministic or so ;-) how about test_git_and_colon() or similar ?
Show 13 quoted lines
> + host=$1; shift > + case $host in > + git=*) > + test_expect_success "$@" > + ;; > + *:*@*) > + test_expect_failure "$@" > + ;; > + *) > + test_expect_success "$@" > + ;; > + esac > +}