File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 - name : Run Windows feature tests
7070 shell : bash
7171 run : scripts/test-features.sh
72+ - name : Run required ARM64 AppContainer acceptance tests
73+ shell : bash
74+ env :
75+ TINYBOX_REQUIRE_APPCONTAINER_RESOURCE_TESTS : " 1"
76+ run : |
77+ set -euo pipefail
78+ tests=(
79+ windows::tests::appcontainer_backend_is_available_through_owned_process_supervision
80+ windows::tests::appcontainer_plan_check_keeps_cpu_unsupported_and_reports_job_limits
81+ windows::tests::appcontainer_owned_launch_captures_output_from_a_confined_child
82+ windows::tests::appcontainer_owned_termination_stops_descendants_after_parent_exit
83+ windows::tests::appcontainer_process_limit_enforces_maximum_child_count
84+ windows::tests::appcontainer_denies_reads_and_writes_outside_granted_roots
85+ windows::tests::appcontainer_denies_verbatim_path_reads_outside_granted_roots
86+ windows::tests::appcontainer_denies_parent_traversal_reads_outside_granted_roots
87+ windows::tests::appcontainer_child_cannot_connect_to_host_loopback
88+ windows::tests::live_appcontainer_memory_limit_blocks_over_budget_allocation
89+ )
90+ for test in "${tests[@]}"; do
91+ output="$(cargo test --locked -p tinybox-jail --lib "$test" -- --exact --nocapture --test-threads=1 2>&1)" || {
92+ printf '%s\n' "$output"
93+ exit 1
94+ }
95+ printf '%s\n' "$output"
96+ if ! grep -qE '1 passed; 0 failed' <<<"$output"; then
97+ echo "expected exactly one ARM64 AppContainer test to run: $test" >&2
98+ exit 1
99+ fi
100+ done
72101 windows-2025 :
73102 name : Windows Server 2025 E2E and feature tests (x64)
74103 runs-on : windows-2025
You can’t perform that action at this time.
0 commit comments