Skip to content

Conversation

@sbentmar
Copy link
Contributor

@sbentmar sbentmar commented Dec 28, 2025

In #9752 several failures are caused by the error messages not matching GNU.

Some examples:

  • suf-5
  • suf-9
  • ign-err-3

This aligns the error message by adding a localization parameter for the incorrect suffix. It also checks whether the number would be valid if we were to remove the suffix, and returns a suffix error rather than a number error in those cases.

This lets the user know which specific suffix is invalid. If they for instance enter "5MS" it will tell them that the "S" is the invalid suffix, not the "M".

@sbentmar sbentmar marked this pull request as draft December 28, 2025 11:30
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/tail/follow-name is no longer failing!

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/tail/assert is no longer failing!

@sbentmar sbentmar marked this pull request as ready for review December 28, 2025 13:01
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