Skip to content

Rejecting non-POSIX operators in the test built-in #153

Closed
@magicant

Description

@magicant

The build-in should error out if a non-portable operator is used when the POSIXly-correct mode is on. Currently, the built-in accepts all supported operators regardless of mode.

In POSIX.1-2024, the -a and -o binary operators and parentheses (( and )) are no longer required. They should also be rejected in the POSIX mode.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions