aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-24 16:25:34 -0700
committerJunio C Hamano <gitster@pobox.com>2010-03-24 16:25:34 -0700
commit954f7cfdac48b8d9fe91c29ecfa44ac0c639867c (patch)
tree6b31342c61da3b5c1642b40276db08b2c2cac991 /t
parenta5ee8faaee15d2f53de3bd182550f506a3162fbe (diff)
parente01de1c9122c3cba118da19fe0ba0ce913fa7285 (diff)
downloadgit-954f7cfdac48b8d9fe91c29ecfa44ac0c639867c.tar.gz
git-954f7cfdac48b8d9fe91c29ecfa44ac0c639867c.tar.xz
Merge branch 'jc/maint-refs-dangling'
* jc/maint-refs-dangling: refs: ref entry with NULL sha1 is can be a dangling symref
Diffstat (limited to 't')
-rwxr-xr-xt/t5505-remote.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh
index a82c5ffa1..269205020 100755
--- a/t/t5505-remote.sh
+++ b/t/t5505-remote.sh
@@ -507,15 +507,15 @@ test_expect_success 'remote prune to cause a dangling symref' '
(
cd seven &&
git remote prune origin
- ) 2>err &&
+ ) >err 2>&1 &&
grep "has become dangling" err &&
- : And the dangling symref will not cause other annoying errors
+ : And the dangling symref will not cause other annoying errors &&
(
cd seven &&
git branch -a
) 2>err &&
- ! grep "points nowhere" err
+ ! grep "points nowhere" err &&
(
cd seven &&
test_must_fail git branch nomore origin