Files
op-packages/safeshield/spec/core_spec.sh
T

74 lines
1.8 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 'updates status fields in batches rather than one process per key'
When call ss_case_status_batch_writes
The status should be success
The output should equal ''
The error should equal ''
End
It 'removes preserved legacy license keys during upgrade'
When call ss_case_legacy_license_cleanup
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