From 96844c506cc2e4e7661346566c0d5c7abad034e4 Mon Sep 17 00:00:00 2001 From: Hook25 Date: Thu, 19 Dec 2024 15:06:17 +0100 Subject: [PATCH] Add units to the extended tutorial --- .../tutorial/units/extended_tutorial.pxu | 2 +- providers/tutorial/units/test-plan.pxu | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/providers/tutorial/units/extended_tutorial.pxu b/providers/tutorial/units/extended_tutorial.pxu index 9eee435d92..758196b317 100644 --- a/providers/tutorial/units/extended_tutorial.pxu +++ b/providers/tutorial/units/extended_tutorial.pxu @@ -40,7 +40,7 @@ template-unit: job id: network_available_{interface} template-id: network_available_interface template-filter: - network_iface_info.link_type == "ether" and network_iface_info.link_info_kind == "" + (network_iface_info.link_type == "ether" and network_iface_info.link_info_kind == "") requires: (network_iface_info.interface == "{interface}" and network_iface_info.operstate == "UP") command: diff --git a/providers/tutorial/units/test-plan.pxu b/providers/tutorial/units/test-plan.pxu index 1b0a006218..b735f08d3f 100644 --- a/providers/tutorial/units/test-plan.pxu +++ b/providers/tutorial/units/test-plan.pxu @@ -22,3 +22,32 @@ _name: Checkbox Base Tutorial Test Plan (using manifest) include: tutorial/passing tutorial/manifest + +unit: test plan +id: tutorial-extended +_name: Extended Tutorial Test Plan +bootstrap_include: + network_iface_info +include: + network_available_.* + network_available + network_speed certification-status=blocker +nested_part: + submission-cert-automated +certification_status_overrides: + apply blocker to network_available + +unit: test plan +id: tutorial-extended-oldid +_name: (alias) Extended Tutorial Test Plan (now called just tutorial-extended) +nested_part: + tutorial-extended + +unit: test plan +id: tutorial-extended-no-speed +_name: Extended Tutorial Test Plan without the speed test +nested_part: + tutorial-extended +exclude: + network_speed + info/systemd-analyze-critical-chain