# [PATCH 3/3] Uncomment test case: git branch c/d should barf if branch c exists.

2 messages from 2007-03-24 to 2007-03-24. Participants: Christian Couder.
Thread: https://gitlist.dev/t/7376

## Christian Couder, 2007-03-24 05:30

Subject: [PATCH 3/3] Uncomment test case: git branch c/d should barf if branch c exists.
Message-ID: <20070324063021.2520da21.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/20070324063021.2520da21.chriscool%40tuxfamily.org
In-Reply-To: <20060928065845.38de4f94.chriscool@tuxfamily.org>

```
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' \
-- 
1.4.2.1.g3bab

```

## Christian Couder, 2007-03-24 05:34

Subject: Re: [PATCH 3/3] Uncomment test case: git branch c/d should barf if branch c exists.
Message-ID: <200703240634.52771.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/200703240634.52771.chriscool%40tuxfamily.org
In-Reply-To: <20070324063021.2520da21.chriscool@tuxfamily.org>

```
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 :
> 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' \

```
