Re: [PATCH 3/3] Uncomment test case: git branch c/d should barf if branch c exists.
Oops, sorry this one is also an old mail that was in my Draft folder and should not have been sent...
Christian.
Le samedi 24 mars 2007 06:30, Christian Couder a écrit :
Show 28 quoted lines
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> ---
> t/t3210-pack-refs.sh | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh
> index 2cc03e6..193fe1f 100755
> --- a/t/t3210-pack-refs.sh
> +++ b/t/t3210-pack-refs.sh
> @@ -37,12 +37,12 @@ test_expect_success \
> git-show-ref b >result &&
> diff expect result'
>
> -# test_expect_failure \
> -# 'git branch c/d should barf if branch c exists' \
> -# 'git-branch c &&
> -# git-pack-refs &&
> -# rm .git/refs/heads/c &&
> -# git-branch c/d'
> +test_expect_failure \
> + 'git branch c/d should barf if branch c exists' \
> + 'git-branch c &&
> + git-pack-refs &&
> + rm .git/refs/heads/c &&
> + git-branch c/d'
>
> test_expect_success \
> 'see if a branch still exists after git pack-refs --prune' \