mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 22:12:51 +08:00
39 lines
1.0 KiB
Bash
Executable File
39 lines
1.0 KiB
Bash
Executable File
# 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 '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
|