test/LoadDatabase: ignore tag/charset mismatches

This program shouldn't fail just because the configuration doesn't
match - it has no configuration, it's just a dumb test program.
This commit is contained in:
Max Kellermann
2023-09-07 09:53:34 +02:00
parent 38d8359384
commit 1f495efb46
3 changed files with 19 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ try {
Directory root{{}, nullptr};
TextFile line_reader{db_path};
db_load_internal(line_reader, root);
db_load_internal(line_reader, root, true);
return EXIT_SUCCESS;
} catch (...) {