# shellcheck shell=sh Describe 'SafeShield blocklist behavior' It 'normalizes, merges, samples, and verifies dnsmasq rules' When call ss_case_blocklist_format The status should be success The output should equal '' The error should equal '' End It 'builds large lists with bounded merge scratch files and preserves precedence' When call ss_case_blocklist_tmpfs The status should be success The output should equal '' The error should equal '' End It 'preserves the exact legacy domain order for both dnsmasq modes' When call ss_case_blocklist_legacy_order The status should be success The output should equal '' The error should equal '' End It 'filters block rules with bounded-memory lookup and no-allow fast path' When call ss_case_blocklist_low_memory The status should be success The output should equal '' The error should equal '' End It 'resolves and downloads multiple Hub artifact sources' When call ss_case_multi_artifact The status should be success The output should equal '' The error should equal '' End It 'retries artifact downloads and enforces size and checksum integrity' When call ss_case_artifact_integrity The status should be success The output should equal '' The error should equal '' End It 'stops retries when the Hub requires a SafeShield upgrade' When call ss_case_upgrade_required The status should be success The output should equal '' The error should equal '' End It 'keeps optimized merge and statistics serialization paths' When call ss_case_performance_paths The status should be success The output should equal '' The error should equal '' End End