Subject: Re: [PATCH 4/6] Turn setup code in t2007-checkout-symlink.sh into a test

From: Jakub Narebski <[email-masked]>
Date: Fri, 07 May 2010 13:23:00 -0700 (PDT)

Ævar Arnfjörð Bjarmason  <[email-masked]> writes:

> Previously the test would print to stdout which interfered with the
> TAP output. Now this scaffolding code is just a normal test.
> 
> Signed-off-by: Ævar Arnfjörð Bjarmason <[email-masked]>

That's a good change anyway, independent on the TAP-ification of
output of git test suite.

> ---
>  t/t2007-checkout-symlink.sh |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/t/t2007-checkout-symlink.sh b/t/t2007-checkout-symlink.sh
> index 616ca2a..05cc8fd 100755
> --- a/t/t2007-checkout-symlink.sh
> +++ b/t/t2007-checkout-symlink.sh
> @@ -44,8 +44,10 @@ test_expect_success 'switch from symlink to dir' '
>  
>  '
>  
> -rm -fr frotz xyzzy nitfol &&
> -git checkout -f master || exit
> +test_expect_success 'Remove temporary directories & switch to master' '
> +	rm -fr frotz xyzzy nitfol &&
> +	git checkout -f master
> +'
>  
>  test_expect_success 'switch from dir to symlink' '
>  
> -- 
> 1.7.1.dirty
> 

-- 
Jakub Narebski
Poland
ShadeHawk on #git