1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

* 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.
This commit is contained in:
Jim Meyering
2006-09-29 11:30:48 +00:00
parent a4d470409f
commit af46184a80
2 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
2006-09-29 Jim Meyering <jim@meyering.net>
* 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.
Work around a readdir bug in Darwin 7.9.0 (MacOS X 10.3.9) on HFS+
and NFS, whereby rm would not remove all files in a directory.
* src/remove.c (CONSECUTIVE_READDIR_UNLINK_THRESHOLD): Reduce to 10.

View File

@@ -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 .1), {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,7 @@ 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 .1),{OUT => [qw(-0.1 00.0 00.1)]}],
['eq-wid-2', qw(-w -.1 .1 .11),{OUT => [qw(-0.1 00.0 00.1)]}],
# 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)]}],