From 101fbd63131fe1bc85761a6855d4764aa263f8f6 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sat, 24 Aug 2024 16:45:24 +0200 Subject: [PATCH] test: enforce metadata consistency checks by default --- test/tool_main_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/tool_main_test.cpp b/test/tool_main_test.cpp index 3b499a1e..2e79c5aa 100644 --- a/test/tool_main_test.cpp +++ b/test/tool_main_test.cpp @@ -172,7 +172,8 @@ struct random_file_tree_options { auto constexpr default_fs_opts = reader::filesystem_options{ .block_cache = {.max_bytes = 256 * 1024, - .sequential_access_detector_threshold = 4}}; + .sequential_access_detector_threshold = 4}, + .metadata = {.check_consistency = true}}; class mkdwarfs_tester : public tester_common { public: