From 1f4900a3cc6ca74f94b73e224d14a09d52c4549c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 10 Sep 2024 15:39:49 +0200 Subject: Added tabletype to tableinfo --- test/090_tables_readwrite/tables_readwrite_tests.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/090_tables_readwrite/tables_readwrite_tests.c') diff --git a/test/090_tables_readwrite/tables_readwrite_tests.c b/test/090_tables_readwrite/tables_readwrite_tests.c index b062460..f3162ea 100644 --- a/test/090_tables_readwrite/tables_readwrite_tests.c +++ b/test/090_tables_readwrite/tables_readwrite_tests.c @@ -6,6 +6,7 @@ typedef struct { char solver[INFO_SOLVER_STRLEN]; + uint64_t type; uint64_t infosize; uint64_t fullsize; uint64_t hash; @@ -39,6 +40,7 @@ tableinfo_t test_readinfo(void) { fgets(emptyline, 2, stdin); + ret.type = readn(); ret.infosize = readn(); ret.fullsize = readn(); ret.hash = readn(); @@ -62,6 +64,7 @@ void test_writeinfo(tableinfo_t info) { printf("%s\n", info.solver); printf("\n"); + printf("%" PRIu64 "\n", info.type); printf("%" PRIu64 "\n", info.infosize); printf("%" PRIu64 "\n", info.fullsize); printf("%" PRIu64 "\n", info.hash); -- cgit v1.3