tbo...@web.de writes:

> From: Torsten Bögershausen <tbo...@web.de>
>
> The sed expression for IPv6, "Tested User And Host" or "tuah" used a wrong
> sed expression, which doesn't work under all versions of sed.
>
> Reported-By: Armin Kunaschik <megabr...@googlemail.com>
> Signed-off-by: Torsten Bögershausen <tbo...@web.de>
> ---

Good.  Thanks.

>  t/t5601-clone.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
> index 150aeaf..a433394 100755
> --- a/t/t5601-clone.sh
> +++ b/t/t5601-clone.sh
> @@ -466,7 +466,7 @@ test_expect_success 'clone ssh://host.xz:22/~repo' '
>  #IPv6
>  for tuah in ::1 [::1] [::1]: user@::1 user@[::1] user@[::1]: [user@::1] 
> [user@::1]:
>  do
> -     ehost=$(echo $tuah | sed -e "s/1]:/1]/ "| tr -d "[]")
> +     ehost=$(echo $tuah | sed -e "s/1]:/1]/" | tr -d "[]")
>       test_expect_success "clone ssh://$tuah/home/user/repo" "
>         test_clone_url ssh://$tuah/home/user/repo $ehost /home/user/repo
>       "
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to