]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: reftable file level tests
authorHan-Wen Nienhuys <hanwen@google.com>
Thu, 7 Oct 2021 20:25:09 +0000 (20:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Oct 2021 17:45:48 +0000 (10:45 -0700)
commitffc97f1a9e154262ae23bf2d6ec6c1541fa3b15a
tree0466d7a854b97d03d4b78229607a05ffdc48e7c6
parent46bc0e731a70716485bc3c8bdaf7e6e6f88073a9
reftable: reftable file level tests

With support for reading and writing files in place, we can construct files (in
memory) and attempt to read them back.

Because some sections of the format are optional (eg. indices, log entries), we
have to exercise this code using multiple sizes of input data

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
reftable/readwrite_test.c [new file with mode: 0644]
reftable/reftable-tests.h
t/helper/test-reftable.c