Skip to content

Commit ffc97f1

Browse files
hanwengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 46bc0e7 commit ffc97f1

File tree

4 files changed

+655
-1
lines changed

4 files changed

+655
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,6 +2473,7 @@ REFTABLE_OBJS += reftable/writer.o
24732473
REFTABLE_TEST_OBJS += reftable/basics_test.o
24742474
REFTABLE_TEST_OBJS += reftable/block_test.o
24752475
REFTABLE_TEST_OBJS += reftable/record_test.o
2476+
REFTABLE_TEST_OBJS += reftable/readwrite_test.o
24762477
REFTABLE_TEST_OBJS += reftable/test_framework.o
24772478
REFTABLE_TEST_OBJS += reftable/tree_test.o
24782479

0 commit comments

Comments
 (0)