Test that scan refuses another schema version (closes #64)
check / check (push) Waiting to run

The version-mismatch test only opened its database through
openReportDatabase, so nothing exercised the branch of initSchema that
stops scan on a database stamped with an unknown schema version. The
test now opens the same database through openScanDatabase too and
requires errSchemaVersion, and is renamed to match the unversioned-file
test beside it, which also covers both paths.

Model: opus-5-5
This commit is contained in:
clawbot
2026-10-04 10:14:59 +00:00
parent 7ff0dbb6e1
commit 9776984e19
2 changed files with 12 additions and 2 deletions
+3
View File
@@ -29,6 +29,9 @@
# Completed Steps
- test that `scan` refuses a database with another schema version
(2026-10-04, https://git.eeqj.de/sneak/sfdupes/issues/64)
- test the `-x` filesystem-boundary rules in `subdirJob` (2026-10-04,
https://git.eeqj.de/sneak/sfdupes/issues/17)