test-mergesort: read sort input all at once
[git/debian.git] / t / lib-midx.sh
blob12619947449a43fd1d495c36dfbfcd268bacb74a
1 # test_midx_consistent <objdir>
2 test_midx_consistent () {
3 ls $1/pack/pack-*.idx | xargs -n 1 basename | sort >expect &&
4 test-tool read-midx $1 | grep ^pack-.*\.idx$ | sort >actual &&
6 test_cmp expect actual &&
7 git multi-pack-index --object-dir=$1 verify