aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2016-04-07 15:02:51 -0400
committerJunio C Hamano <gitster@pobox.com>2016-04-10 11:35:03 -0700
commit45669a79b1459dddf19fd5334411dd4998ce1668 (patch)
tree748668b16fb86ab378aadb791554304df5ea50ca /t
parentf86d8350c8c72851dc9c250dbf0a6f1254e59282 (diff)
downloadgit-45669a79b1459dddf19fd5334411dd4998ce1668.tar.gz
git-45669a79b1459dddf19fd5334411dd4998ce1668.tar.xz
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t1430-bad-ref-name.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1430-bad-ref-name.sh b/t/t1430-bad-ref-name.sh
index 005e2b175..cb815ab6c 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 &&