Skip to content

Conversation

@naoNao89
Copy link
Contributor

@naoNao89 naoNao89 commented Nov 14, 2025

Fix numfmt suffix support and error handling Found and fixed several bugs while investigating failing GNU test suite cases:

  • Added Q/R suffix support: Implemented quetta (10^30) and ronna (10^27) suffixes, plus lowercase 'k'
  • Fixed confusing error messages: Now correctly reports "invalid number" for non-numeric input like "foo" instead of "invalid suffix"

Fixes #9127

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

- Add quetta (Q), ronna (R) suffix support (10^30, 10^27)
- Support lowercase 'k' suffix
- Fix "invalid number" vs "invalid suffix" error distinction
- Fix output duplication on formatting errors
- Add regression tests

Improves GNU test suite compatibility.
@naoNao89 naoNao89 force-pushed the fix-numfmt-test-failures branch from 0d5d716 to 907c573 Compare November 14, 2025 18:39
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

@oech3
Copy link
Contributor

oech3 commented Nov 16, 2025

Is Ci for aarch-apple-darwin failing due to no space left on device too? Not clear from the log.

@cakebaker cakebaker merged commit 58ebeaf into uutils:main Nov 16, 2025
165 of 170 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@naoNao89 naoNao89 deleted the fix-numfmt-test-failures branch November 16, 2025 20:02
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.

GNU coreutils 9.9: Test report

3 participants