threads / discuss / 37362

t5534 broken when gpg not installed

Subject: t5534 broken when gpg not installed

## tl;dr

2 messages between Aug 16, 2014 and Aug 18, 2014.

replies: 1people: 2as markdown or json

Torsten Bögershausen· Aug 16, 2014, 21:19 UTC · lore

(I couldn't find a post for this patch) The following is needed for systems without gpg to make t5534 pass:

diff --git a/t/t5534-push-signed.sh b/t/t5534-push-signed.sh
index 3acc864..ee5aaff 100755
--- a/t/t5534-push-signed.sh
+++ b/t/t5534-push-signed.sh
@@ -45,7 +45,7 @@ test_expect_success 'unsigned push does not send push certificate' '
        ! test -s dst/push-cert
 '
 
-test_expect_success 'signed push sends push certificate' '
+test_expect_success GPG 'signed push sends push certificate' '
        prepare_dst &&
        mkdir -p dst/.git/hooks &&
        write_script dst/.git/hooks/post-receive <<-\EOF &&
Junio C Hamano· Aug 18, 2014, 16:55 UTC · re: Torsten Bögershausen · lore

Re: t5534 broken when gpg not installed

Torsten Bögershausen <tboegi@web.de> writes:
> (I couldn't find a post for this patch)

Thanks. This is from a topic near the tip of 'pu' I have been toying with on and off but not yet ready to be sent to the list.

Show 17 quoted lines
> The following is needed for systems without gpg to make t5534 pass:
>
>
>
> diff --git a/t/t5534-push-signed.sh b/t/t5534-push-signed.sh
> index 3acc864..ee5aaff 100755
> --- a/t/t5534-push-signed.sh
> +++ b/t/t5534-push-signed.sh
> @@ -45,7 +45,7 @@ test_expect_success 'unsigned push does not send push certificate' '
>         ! test -s dst/push-cert
>  '
>  
> -test_expect_success 'signed push sends push certificate' '
> +test_expect_success GPG 'signed push sends push certificate' '
>         prepare_dst &&
>         mkdir -p dst/.git/hooks &&
>         write_script dst/.git/hooks/post-receive <<-\EOF &&

← back to recent threads