Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ds/commit-graph-fsck'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2018 18:33:51 +0000
(11:33 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2018 18:33:51 +0000
(11:33 -0700)
Test fix.
* ds/commit-graph-fsck:
t5318: use 'test_cmp_bin' to compare commit-graph files
t/t5318-commit-graph.sh
patch
|
blob
|
history
raw
(from parent 1:
c5c2162
)
diff --git
a/t/t5318-commit-graph.sh
b/t/t5318-commit-graph.sh
index 4f17d7701e456bbb0992efdba2861e1dac8f7c23..1c148ebf21310cfe27ae78a990ecdc3b51f545e8 100755
(executable)
--- 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