From: Michael Haggerty Date: Thu, 7 Apr 2016 19:02:51 +0000 (-0400) Subject: t1430: clean up broken refs/tags/shadow X-Git-Tag: v2.9.0-rc0~99^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45669a79b1459dddf19fd5334411dd4998ce1668;p=git t1430: clean up broken refs/tags/shadow Signed-off-by: Michael Haggerty Signed-off-by: David Turner Signed-off-by: Junio C Hamano --- diff --git a/t/t1430-bad-ref-name.sh b/t/t1430-bad-ref-name.sh index 005e2b1756..cb815ab6c3 100755 --- a/t/t1430-bad-ref-name.sh +++ b/t/t1430-bad-ref-name.sh @@ -148,7 +148,7 @@ test_expect_success 'rev-parse skips symref pointing to broken name' ' git branch shadow one && cp .git/refs/heads/master .git/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 shadow >actual 2>err && test_cmp expect actual &&