summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2023-01-06 13:13:54 +0000
committerPádraig Brady <P@draigBrady.com>2023-01-06 14:26:40 +0000
commitf4567ed953d3eb14b8eefc4744603c2594bb73f3 (patch)
treedb9fea9113ece4dcf4d9ee3d821119bb24e8d315 /tests
parente1ff4ee0f6d7490610ecc39d57c855818f6fd1f4 (diff)
downloadcoreutils-f4567ed953d3eb14b8eefc4744603c2594bb73f3.tar.gz
all: further adjustments for new Ronna, Quetta SI prefixes
* src/dd.c (parse_integer): Support Q,R suffixes. * src/od.c (main): Likewise. * src/split.c (main): Likewise. * src/stdbuf.c (parse_size): Likewise. * src/truncate.c (main): Likewise. * src/sort.c (specify_size_size): Likewise. Also line length syntax check fix. * tests/misc/numfmt.pl: Adust top end large number checks to the new largest values. * doc/coreutils.texi (numfmt invocation): Add a numfmt example. * NEWS: Tweak to aid searchability.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/numfmt.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/numfmt.pl b/tests/misc/numfmt.pl
index 31a87dc14..86fb78f1e 100755
--- a/tests/misc/numfmt.pl
+++ b/tests/misc/numfmt.pl
@@ -947,9 +947,9 @@ my @Limit_Tests =
['large-7','--from=si --to=si 80Y', {OUT=>"80Y"}],
['large-8','--from=si --to=si 9000Z', {OUT=>"9.0Y"}],
- ['large-10','--from=si --to=si 999Y', {OUT=>"999Y"}],
- ['large-11','--from=si --to=iec 999Y', {OUT=>"827Y"}],
- ['large-12','--from=si --round=down --to=iec 999Y', {OUT=>"826Y"}],
+ ['large-10','--from=si --to=si 999Q', {OUT=>"999Q"}],
+ ['large-11','--from=si --to=iec 999Q', {OUT=>"789Q"}],
+ ['large-12','--from=si --round=down --to=iec 999Q', {OUT=>"788Q"}],
# units can also affect the output
['large-13','--from=si --from-unit=1000000 9P',