diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-01-25 17:41:15 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-27 12:07:53 -0800 |
commit | a80f0f91b1d6586abe0b37d19c0bd60ce1843571 (patch) | |
tree | 6d342b015e50758fab019ad8c819a9764e5f7031 /t/t4134-apply-submodule.sh | |
parent | t5326: move tests to t/lib-bitmap.sh (diff) | |
download | tgif-a80f0f91b1d6586abe0b37d19c0bd60ce1843571.tar.xz |
t/lib-bitmap.sh: parameterize tests over reverse index source
To prepare for reading the reverse index data out of the MIDX itself,
teach the `test_rev_exists` function to take an expected "source" for
the reverse index data.
When given "rev", it asserts that the MIDX's `.rev` file exists, and is
loaded when verifying the integrity of its bitmaps. Otherwise, it
ensures that trace2 reports the source of the reverse index data as the
same string which was given to test_rev_exists().
The following patch will implement reading the reverse index data from
the MIDX itself.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4134-apply-submodule.sh')
0 files changed, 0 insertions, 0 deletions