diff options
| author | Pádraig Brady <P@draigBrady.com> | 2023-01-06 13:13:54 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2023-01-06 14:26:40 +0000 |
| commit | f4567ed953d3eb14b8eefc4744603c2594bb73f3 (patch) | |
| tree | db9fea9113ece4dcf4d9ee3d821119bb24e8d315 /tests | |
| parent | numfmt: add support for new SI prefixes (diff) | |
| download | coreutils-f4567ed953d3eb14b8eefc4744603c2594bb73f3.tar.gz coreutils-f4567ed953d3eb14b8eefc4744603c2594bb73f3.zip | |
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-x | tests/misc/numfmt.pl | 6 |
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', |
