mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 01:42:52 +08:00
60 lines
1.4 KiB
Bash
Executable File
60 lines
1.4 KiB
Bash
Executable File
# shellcheck shell=sh
|
|
|
|
Describe 'SafeShield core shell behavior'
|
|
It 'validates utility helpers'
|
|
When call ss_case_utils
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates configuration defaults and boundaries'
|
|
When call ss_case_config_validation
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates supported dnsmasq versions'
|
|
When call ss_case_dnsmasq_version
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates device identity behavior'
|
|
When call ss_case_identity
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates Hub resolve payload metadata'
|
|
When call ss_case_resolve_payload
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates rpcd and ACL contracts'
|
|
When call ss_case_rpcd_contract
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'validates status state transitions and blocklist restore'
|
|
When call ss_case_status_state
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
|
|
It 'keeps package and runtime versions synchronized'
|
|
When call ss_case_status_version
|
|
The status should be success
|
|
The output should equal ''
|
|
The error should equal ''
|
|
End
|
|
End
|