[roads] QA F-07: a missing roads/ folder is store.roads, and roads/ is never followed through a link

A store folder without roads/ compiled to plans with no access and no problem,
kill switches included. It is now an error naming roads. A roads/ that is a
file or a symbolic link is refused the same way (the builder's self-review #8):
entries inside were already refused, the folder itself was followed.
This commit is contained in:
2026-11-25 08:41:10 +01:00
parent 93ab087648
commit b6cf29b9a0
5 changed files with 55 additions and 3 deletions
-1
View File
@@ -200,7 +200,6 @@ fn f06_a_road_across_address_families_is_reported() {
/// F-07. A store folder without `roads/` compiles to plans with no access and no problem at all, so pointing
/// `--store` one folder too high revokes everything, kill switches included, without a word.
#[test]
#[ignore = "QA F-07 (minor): a missing roads/ folder is not reported"]
fn f07_a_missing_roads_folder_is_reported() {
let dir = tempfile::tempdir().unwrap();
std::fs::copy(