Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Adjust sed expressions to work with BSD's sed #881

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

stefanberger
Copy link
Owner

A version of sed on FreeBSD requires some adjustments to the sed expressions for the test case to work. It does not support the following:

  • insertion of newline using '\n' -> replace with $'...\\n...'
  • request for matching of at least one character using '+' -> replace with '*' to match any number

A version of sed on FreeBSD requires some adjustments to the sed
expressions for the test case to work. It does not support the
following:
- insertion of newline using '\n' -> replace with $'...\\\n...'
- request for matching of at least one character using '\+'
  -> replace with '*' to match any number

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
@stefanberger stefanberger merged commit 201de9a into master Jul 24, 2024
5 checks passed
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