summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-10-07 20:25:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-08 10:45:48 -0700
commitffc97f1a9e154262ae23bf2d6ec6c1541fa3b15a (patch)
tree0466d7a854b97d03d4b78229607a05ffdc48e7c6 /t/helper
parentreftable: read reftable files (diff)
downloadtgif-ffc97f1a9e154262ae23bf2d6ec6c1541fa3b15a.tar.xz
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>
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-reftable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-reftable.c b/t/helper/test-reftable.c
index 050551fa69..898aba836f 100644
--- a/t/helper/test-reftable.c
+++ b/t/helper/test-reftable.c
@@ -6,6 +6,7 @@ int cmd__reftable(int argc, const char **argv)
basics_test_main(argc, argv);
block_test_main(argc, argv);
record_test_main(argc, argv);
+ readwrite_test_main(argc, argv);
tree_test_main(argc, argv);
return 0;
}