Re: [GSoC PATCH v7 3/5] repo: add the field layout.bare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 01, 2025 at 10:11:08AM -0300, Lucas Seiki Oshiro wrote:
> diff --git a/t/t1900-repo.sh b/t/t1900-repo.sh
> index 9796e36087..6c555e90c3 100755
> --- a/t/t1900-repo.sh
> +++ b/t/t1900-repo.sh
> @@ -54,4 +60,12 @@ test_expect_success 'only one value is returned if the same key is requested twi
>  	test_cmp expect actual
>  '
>  
> +test_expect_success 'output is returned correctly when two keys are requested' '
> +	cat >expect <<-\EOF &&
> +	layout.bare=false
> +	references.format=files
> +	EOF
> +	git init --ref-format=files two-keys &&
> +	git -C two-keys repo info layout.bare references.format
> +'
>  test_done

Tiny nit: there's a newline missing between the test and `test_done`.

Patrick




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux