mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-12-23 22:47:57 -05:00
Under Windows and Packages CI workflows the previous approach to testing that an existing spellings DB file is reused didn't work since it relied on an auxiliary test ensuring that a spellings database cannot be created in a read-only directory, whereas 1. under Windows a temporary directory couldn't be made read-only (leading to the failure of the auxiliary test) 2. in the Packages workflow the build was run with root privileges and the read-onliness of the target directory was ignored (leading to the same failure). So the test was rewritten to actually check the content of the target directory as well as the modifications times of the target directory and the database file.