summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 11:33:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-20 11:33:51 -0700
commit5dd54744b8443494f2190d5c9efa4b5ae0f69f06 (patch)
tree640c3ad89ed8f5c39317a7fd3a0de678af3f130c
parentMerge branch 'jt/fetch-negotiator-skipping' (diff)
parentt5318: use 'test_cmp_bin' to compare commit-graph files (diff)
downloadtgif-5dd54744b8443494f2190d5c9efa4b5ae0f69f06.tar.xz
Merge branch 'ds/commit-graph-fsck'
Test fix. * ds/commit-graph-fsck: t5318: use 'test_cmp_bin' to compare commit-graph files
-rwxr-xr-xt/t5318-commit-graph.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh
index 4f17d7701e..1c148ebf21 100755
--- a/t/t5318-commit-graph.sh
+++ b/t/t5318-commit-graph.sh
@@ -254,9 +254,9 @@ test_expect_success 'check that gc computes commit-graph' '
git config gc.writeCommitGraph true &&
git gc &&
cp $objdir/info/commit-graph commit-graph-after-gc &&
- ! test_cmp commit-graph-before-gc commit-graph-after-gc &&
+ ! test_cmp_bin commit-graph-before-gc commit-graph-after-gc &&
git commit-graph write --reachable &&
- test_cmp commit-graph-after-gc $objdir/info/commit-graph
+ test_cmp_bin commit-graph-after-gc $objdir/info/commit-graph
'
# the verify tests below expect the commit-graph to contain