Skip to content

[codex] Improve authdb table tests#91

Draft
grahamgilbert wants to merge 1 commit into
mainfrom
codex/authdb-tests
Draft

[codex] Improve authdb table tests#91
grahamgilbert wants to merge 1 commit into
mainfrom
codex/authdb-tests

Conversation

@grahamgilbert
Copy link
Copy Markdown
Member

Summary

  • add error coverage for authdb rule-name and rule parsing helpers
  • verify constraint filtering ignores non-name and non-equality constraints
  • verify getRules propagates security command failures
  • assert rule arrays are rendered in table output

Validation

  • GOCACHE=/tmp/osquery-extension-go-cache go test ./tables/authdb
  • GOCACHE=/tmp/osquery-extension-go-cache go test ./...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant