diff options
author | Jeff King <peff@peff.net> | 2020-12-08 17:03:28 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-08 14:48:15 -0800 |
commit | c5cd7490762b20cdec3844e99cfc908c38917906 (patch) | |
tree | 5918954ef1f28c3a5b9af7c52eaca8241a836901 /pack-bitmap.c | |
parent | ec6c7b43679fcd7db00019a850636abc5c94e44e (diff) | |
download | git-c5cd7490762b20cdec3844e99cfc908c38917906.tar.gz |
t5310: drop size of truncated ewah bitmap
We truncate the .bitmap file to 512 bytes and expect to run into
problems reading an individual ewah file. But this length is somewhat
arbitrary, and just happened to work when the test was added in
9d2e330b17 (ewah_read_mmap: bounds-check mmap reads, 2018-06-14).
An upcoming commit will change the size of the history we create in the
test repo, which will cause this test to fail. We can future-proof it a
bit more by reducing the size of the truncated bitmap file.
Signed-off-by: Jeff King <peff@peff.net>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.c')
0 files changed, 0 insertions, 0 deletions