t1430: clean up broken refs/tags/shadow
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f86d8350c8
commit
45669a79b1
@ -148,7 +148,7 @@ test_expect_success 'rev-parse skips symref pointing to broken name' '
|
|||||||
git branch shadow one &&
|
git branch shadow one &&
|
||||||
cp .git/refs/heads/master .git/refs/heads/broken...ref &&
|
cp .git/refs/heads/master .git/refs/heads/broken...ref &&
|
||||||
git symbolic-ref refs/tags/shadow refs/heads/broken...ref &&
|
git symbolic-ref refs/tags/shadow refs/heads/broken...ref &&
|
||||||
|
test_when_finished "rm -f .git/refs/tags/shadow" &&
|
||||||
git rev-parse --verify one >expect &&
|
git rev-parse --verify one >expect &&
|
||||||
git rev-parse --verify shadow >actual 2>err &&
|
git rev-parse --verify shadow >actual 2>err &&
|
||||||
test_cmp expect actual &&
|
test_cmp expect actual &&
|
||||||
|
Loading…
Reference in New Issue
Block a user