threads / patch / 7376

patch, 3 partsUncomment test case: git branch c/d should barf if branch c exists.

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

## tl;dr

2 messages between Mar 24, 2007 and Mar 24, 2007. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Christian Couder· Mar 24, 2007, 05:30 UTC · lore
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 t/t3210-pack-refs.sh |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
Show changes to t/t3210-pack-refs.sh +6 −6
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· Mar 24, 2007, 05:34 UTC · re: Christian Couder · lore

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

← back to recent threads