bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: fix seq test cases for FreeBSD 6.1


From: Jim Meyering
Subject: Re: FYI: fix seq test cases for FreeBSD 6.1
Date: Fri, 29 Sep 2006 18:58:44 +0200

Jim Meyering <address@hidden> wrote:
> 2006-09-29  Jim Meyering  <address@hidden>
>
>       * tests/seq/basic: Use .11 as the upper bound, in case the ".1"
>       increment translates to a slightly larger value.
>       This corrects a test failure on FreeBSD 6.1 reported by Nelson Beebe.
>       The final expected value wasn't being printed.

FYI, that change did more harm than good.
I've disabled some tests for now.  Will revisit after 6.3.

2006-09-29  Jim Meyering  <address@hidden>

        * tests/seq/basic [neg-2, eq-wid-2]: Comment out tests that
        use .1 as the increment.  Actual output varies too much.
        [eq-wid-3]: New, commented out test.

Index: tests/seq/basic
===================================================================
RCS file: /fetish/cu/tests/seq/basic,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -u -r1.14 -r1.15
--- tests/seq/basic     29 Sep 2006 11:30:48 -0000      1.14
+++ tests/seq/basic     29 Sep 2006 16:52:59 -0000      1.15
@@ -45,7 +45,7 @@ my @Tests =
    ['onearg-1',        qw(10),         {OUT => [(1..10)]}],
    ['onearg-2',        qw(-1)],
    ['neg-1',   qw(-10 10 10),  {OUT => [qw(-10 0 10)]}],
-   ['neg-2',   qw(-.1 .1 .11), {OUT => [qw(-0.1 0.0 0.1)]}],
+   # ['neg-2', qw(-.1 .1 .11), {OUT => [qw(-0.1 0.0 0.1)]}],
    ['neg-3',   qw(1 -1 0),     {OUT => [qw(1 0)]}],
    ['neg-4',   qw(1 -1 -1),    {OUT => [qw(1 0 -1)]}],

@@ -53,7 +53,8 @@ my @Tests =

    # Prior to 2.0g, this test would fail on e.g., HPUX systems
    # because it'd end up using %3.1f as the format instead of %4.1f.
-   ['eq-wid-2',        qw(-w -.1 .1 .11),{OUT => [qw(-0.1 00.0 00.1)]}],
+   # ['eq-wid-2',      qw(-w -.1 .1 .11),{OUT => [qw(-0.1 00.0 00.1)]}],
+   # ['eq-wid-3',      qw(-w 1 3.0),  {OUT => [qw(1 2 3)]}],

    # 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)]}],




reply via email to

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