fleetd #519: test policy probe guards #523
Reference in New Issue
Block a user
Delete Branch "worker/519-probe-test-harness-d25ab8-4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds scripts/test-probe-member-credentials.sh and a source guard with a pure policy parser. Empty parser output now reports 0 fields.
Checks run:
Mutation proof: each mutation was present while original text was absent. Then the suite failed, and restoration matched the edited-script SHA-256.
All restores matched SHA-256 0e243e0351c7ee7f60d1cc0d8d8a28dfba26bb511d80f7958b58914664ce6cb1 before the final indentation-only edit. The final script SHA-256 is 099b2ecfe78f736ca2f5ba3f62a2a700973822445846e8716fbb90fb959a57d8. git show HEAD:scripts/probe-member-credentials.sh | shasum -a 256 matched the required pristine SHA-256 408b68fdcd81e2109af8712d689d00fa8a260311094ec7a2233dd1b493b9c8b7.
Caveat: the new harness does not cover the non-member, missing-parser, curl-fetch, known-count, or hash-tool fallback paths; those still need hand-run checks.