Utility catalogue
Predicates and status
test
Evaluate string predicates
Open2,000 seeds
Proof brief
- Invocation
test -n STRING / test -z STRING- Input domain
- Take exactly one of the two unary operators and one NUL-free operand.
- Proof obligation
- Return 0 when the chosen predicate holds and 1 otherwise. Both output streams stay empty.
- Test cases
- Empty strings, whitespace, operators used as operands, and multibyte values.
- Outside this profile
- Other operators, filesystem predicates, bracket syntax, and malformed expressions.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/test/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/test/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.