[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/10] tests: seq: check -w with scientific notation
|
From: |
Pádraig Brady |
|
Subject: |
[PATCH 07/10] tests: seq: check -w with scientific notation |
|
Date: |
Sun, 15 Nov 2026 16:20:10 +0000 |
From: Sylvestre Ledru <sylvestre@debian.org>
* tests/seq/seq.pl (eq-wid-16): New test.
https://github.com/uutils/coreutils/pull/14180
Link: https://github.com/coreutils/coreutils/pull/466
---
tests/seq/seq.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/seq/seq.pl b/tests/seq/seq.pl
index 59a3e5e3a..832626f7c 100755
--- a/tests/seq/seq.pl
+++ b/tests/seq/seq.pl
@@ -83,6 +83,8 @@ my @Tests =
# then misalignment would occur if the sequence narrowed.
['eq-wid-14',qw(-w -1 1.0 0), {OUT => [qw(-1.0 00.0)]}],
['eq-wid-15',qw(-w 10 -.1 9.9), {OUT => [qw(10.0 09.9)]}],
+ ['eq-wid-16',qw(-w -1e1 1e1 1e2),
+ {OUT => [qw(-10 000 010 020 030 040 050 060 070 080 090 100)]}],
# Prior to coreutils-4.5.11, some of these were not accepted.
['fmt-1', qw(-f %2.1f 1.5 .5 2),{OUT => [qw(1.5 2.0)]}],
--
2.56.0
- [PATCH 01/10] tests: fmt: add -t tests with a one-line paragraph, Pádraig Brady, 2026/11/15
- [PATCH 06/10] tests: join: check -o fields after the file operands, Pádraig Brady, 2026/11/15
- [PATCH 07/10] tests: seq: check -w with scientific notation,
Pádraig Brady <=
- [PATCH 04/10] tests: stat: check the 0 flag with a precision, Pádraig Brady, 2026/11/15
- [PATCH 05/10] tests: stat: check an empty --format or --printf, Pádraig Brady, 2026/11/15
- [PATCH 08/10] tests: expand: check the column is kept across files and buffers, Pádraig Brady, 2026/11/15
- [PATCH 10/10] tests: stat: check %#a adds a single leading 0, Pádraig Brady, 2026/11/15
- [PATCH 02/10] tests: dircolors: check TERM filtering of the built-in database, Pádraig Brady, 2026/11/15
- [PATCH 03/10] tests: pr: check -m with a separator and a page width, Pádraig Brady, 2026/11/15
- [PATCH 09/10] tests: nl: check option values starting with a hyphen, Pádraig Brady, 2026/11/15