coreutils
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]