summaryrefslogtreecommitdiffstats
path: root/tests/numfmt
AgeCommit message (Collapse)AuthorLines
2026-04-16test: avoid false failure on OpenBSDPádraig Brady-1/+2
* tests/numfmt/numfmt.pl: Use standard getopt error map, needed on OpenBSD. Reported by Bruno Haible.
2026-04-07tests: numfmt: avoid false failure on systems without long doublePádraig Brady-5/+5
* tests/numfmt/numfmt.pl: Move recently added test that depends on long double support to the appropriately guarded set. Also reduce the value to be in the definitely safe long double range. Reported by Bruno Haible.
2026-04-06tests: numfmt: cover GNU/uutils compatibility edge casesSylvestre Ledru-0/+38
* tests/numfmt/numfmt.pl: Add tests exercising corner cases around negative-argument rejection, large integer precision, scientific notation rejection, '--from-unit' fractional precision, zero-padded format sign ordering, '--to-unit' prefix selection, and '--format=%.0f' with '--to=<scale>'. https://github.com/uutils/coreutils/pull/11668
2026-02-25tests: factor,numfmt: verify embedded NUL handlingPádraig Brady-1/+2
* tests/factor/factor.pl: Verify that embedded NULs on stdin terminate the _number_. * tests/numfmt/numfmt.p: Verify that embedded NULs on stdin terminate the _line_. https://github.com/coreutils/coreutils/pull/196
2026-01-01maint: run 'make update-copyright'Collin Funk-2/+2
2025-12-22numfmt: fix dropped custom suffix when failing to parsePádraig Brady-0/+4
* src/numfmt.c (process_suffixed_number): Restore custom suffix upon failure to parse number. * tests/numfmt/numfmt.pl: Add test cases. * NEWS: Mention the bug fix. Fixes https://bugs.debian.org/1094581
2025-10-20tests: numfmt: add non-utf8 multi-byte testPádraig Brady-0/+1311
* tests/numfmt/mb-non-utf8.sh: Test GB18030 delimiter search. * tests/local.mk: Reference the new test, and move the existing numfmt.pl test from tests/misc to tests/numfmt.