summaryrefslogtreecommitdiff
path: root/t/t1507-rev-parse-upstream.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-05-09 16:47:29 -0700
committerJunio C Hamano <gitster@pobox.com>2023-05-09 16:47:29 -0700
commit7734f3d6906797c76a63fa439e47e8bc6211c491 (patch)
tree5e3890efe7a4b890ded416a0b8b9e8f95d923fcb /t/t1507-rev-parse-upstream.sh
parent897bfd0a6bdeab47bffc7650b9fea367447b1cb5 (diff)
parent159f4b9c3b9ccc0beb3a118ae752d61e9fffb681 (diff)
downloadgit-7734f3d6906797c76a63fa439e47e8bc6211c491.tar.gz
Merge branch 'ar/test-cleanup-unused-file-creation' into next
Test fix. * ar/test-cleanup-unused-file-creation: test: rev-parse-upstream: add missing cmp
Diffstat (limited to 't/t1507-rev-parse-upstream.sh')
-rwxr-xr-xt/t1507-rev-parse-upstream.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t1507-rev-parse-upstream.sh b/t/t1507-rev-parse-upstream.sh
index d94c72c672..cb9ef7e329 100755
--- a/t/t1507-rev-parse-upstream.sh
+++ b/t/t1507-rev-parse-upstream.sh
@@ -97,7 +97,8 @@ test_expect_success 'my-side@{u} resolves to correct commit' '
commit_subject my-side >actual &&
test_cmp expect actual &&
echo 5 >expect &&
- commit_subject my-side@{u} >actual
+ commit_subject my-side@{u} >actual &&
+ test_cmp expect actual
'
test_expect_success 'not-tracking@{u} fails' '