Re: [PATCH v2 04/12] t1404: move reffiles specific tests to t0600

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

 



On Fri, Jan 19, 2024 at 08:18:52PM +0000, John Cai via GitGitGadget wrote:
> From: John Cai <johncai86@xxxxxxxxx>
> 
> These tests modify loose refs manually and are specific to the reffiles
> backend. Move these to t0600 to be part of a test suite of reffiles
> specific tests.
> 
> Signed-off-by: John Cai <johncai86@xxxxxxxxx>
> ---
>  t/t0600-reffiles-backend.sh  | 263 +++++++++++++++++++++++++++++++++++
>  t/t1404-update-ref-errors.sh | 237 -------------------------------
>  2 files changed, 263 insertions(+), 237 deletions(-)
>  create mode 100755 t/t0600-reffiles-backend.sh
> 
> diff --git a/t/t0600-reffiles-backend.sh b/t/t0600-reffiles-backend.sh
> new file mode 100755
> index 00000000000..2f910bd76ad
> --- /dev/null
> +++ b/t/t0600-reffiles-backend.sh
> @@ -0,0 +1,263 @@
> +#!/bin/sh
> +
> +test_description='Test reffiles backend'
> +
> +GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
> +export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
> +
> +TEST_PASSES_SANITIZE_LEAK=true
> +. ./test-lib.sh
> +
> +if ! test_have_prereq REFFILES
> +	then
> +		skip_all='skipping reffiles specific tests'
> +		test_done
> +fi

Same issue here, indentation is off.

Patrick

Attachment: signature.asc
Description: PGP signature


[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