[roads] QA F-05 and F-06: classic custom blocks, and roads across address families
F-05: plan.custom took classic from the road only, so a raw block on a classic device without classic: true was labelled post-quantum. The device's flag now counts too, as it already did for peers. F-06: a device has one mesh address, so a can-reach road from IPv4 devices to an IPv6 place compiled to rules that could never match, silently. Those devices now get nothing for that road, and the road is reported inactive (road.family) naming them.
This commit is contained in:
@@ -175,7 +175,6 @@ fn f04_deleting_a_person_revokes_them_and_nobody_else() {
|
||||
/// F-05. A custom road on a classic device is carried as `classic: false` unless the road says otherwise, so the
|
||||
/// plan labels a classic peer's raw block as post-quantum (CLAUDE.md: classic peers are labelled everywhere).
|
||||
#[test]
|
||||
#[ignore = "QA F-05 (minor): plan.custom takes `classic` from the road, not from the device"]
|
||||
fn f05_a_custom_block_on_a_classic_device_is_labelled_classic() {
|
||||
let router = key(5);
|
||||
let text = Parts::home()
|
||||
@@ -198,7 +197,6 @@ fn f05_a_custom_block_on_a_classic_device_is_labelled_classic() {
|
||||
/// other way round) compile cleanly into rules that can never match: a road that grants nothing, reported as
|
||||
/// nothing.
|
||||
#[test]
|
||||
#[ignore = "QA F-06 (minor): a road across address families compiles into a rule that never matches"]
|
||||
fn f06_a_road_across_address_families_is_reported() {
|
||||
let parts = with(
|
||||
Parts::home().edit_devices(|d| {
|
||||
|
||||
Reference in New Issue
Block a user