mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 20:43:56 +08:00
🎉 Sync 2026-09-27 21:03:26
This commit is contained in:
1 parent
f4559bbed1
commit
065763f7fd
673 files changed
+261285
-34160
No files matched your search
Executable
+59
@@ -0,0 +1,59 @@
|
||||
# shellcheck shell=sh
|
||||
|
||||
Describe 'SafeShield runtime process behavior'
|
||||
It 'interrupts refreshd long sleeps without one-second polling'
|
||||
When call ss_case_refreshd_wait
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'schedules refreshes without retry storms and handles boot, WAN, and disabled states'
|
||||
When call ss_case_refreshd_scheduler
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'starts and stops the statistics collector cleanly'
|
||||
When call ss_case_statistics_collector
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'uploads statistics idempotently and reconciles after failures'
|
||||
When call ss_case_statistics_uploader
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'stores Hub statistics upload credentials only in the runtime cache'
|
||||
When call ss_case_statistics_upload_credentials
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'sends the Hub statistics bearer credential as an HTTP authorization header'
|
||||
When call ss_case_statistics_http_auth
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'uses authenticated uclient-fetch safely on OpenWrt'
|
||||
When call ss_case_http_uclient_transport
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'reconciles statistics runtime without disturbing refreshd'
|
||||
When call ss_case_statistics_reconcile
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
End
|
||||
Reference in new issue
Block a user