summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@rho.meyering.net>2007-12-01 16:18:00 +0100
committerJim Meyering <meyering@redhat.com>2007-12-01 16:22:47 +0100
commit9fed2e35c09dc9a19629369f4994c65bc1c94926 (patch)
treed7e672d3fffaed76b9f1126c1aa2ed5550cf9e5a
parent20ef6c7b9cd338fc8bfc3cc5221fb811b297f6bf (diff)
downloadcoreutils-9fed2e35c09dc9a19629369f4994c65bc1c94926.tar.xz
Change comments: say bug present up to coreutils-6.9, not fixed in 6.10.
* tests/cut/Test.pm: Adjust comment. * tests/misc/cut: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/od: Likewise. * tests/misc/stty-invalid: Likewise. * tests/tr/Test.pm: Likewise.
-rw-r--r--ChangeLog10
-rw-r--r--tests/cut/Test.pm2
-rwxr-xr-xtests/misc/cut6
-rwxr-xr-xtests/misc/ls-misc4
-rwxr-xr-xtests/misc/od2
-rwxr-xr-xtests/misc/stty-invalid6
-rw-r--r--tests/tr/Test.pm2
7 files changed, 21 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 83ca215da..66034cb56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-12-01 Jim Meyering <meyering@rho.meyering.net>
+
+ Change comments: say bug present up to coreutils-6.9, not fixed in 6.10.
+ * tests/cut/Test.pm: Adjust comment.
+ * tests/misc/cut: Likewise.
+ * tests/misc/ls-misc: Likewise.
+ * tests/misc/od: Likewise.
+ * tests/misc/stty-invalid: Likewise.
+ * tests/tr/Test.pm: Likewise.
+
2007-11-29 Paul Eggert <eggert@cs.ucla.edu>
Add a test for cp -p and existing file permissions.
diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm
index 6990b8ffe..b5e3d08cc 100644
--- a/tests/cut/Test.pm
+++ b/tests/cut/Test.pm
@@ -111,7 +111,7 @@ my @tv = (
['od-overlap4', '-b1-3,2-3 --output-d=:', "abcd\n", "abc\n", 0],
['od-overlap5', '-b1-3,1-4 --output-d=:', "abcde\n", "abcd\n", 0],
-# None of the following invalid ranges provoked an error before coreutils-6.10.
+# None of the following invalid ranges provoked an error up to coreutils-6.9.
['inval1', '-f 2-0', '', '', 1],
['inval2', '-f -', '', '', 1],
['inval3', '-f 4,-', '', '', 1],
diff --git a/tests/misc/cut b/tests/misc/cut
index 0a8ae3ae6..2fc4bed05 100755
--- a/tests/misc/cut
+++ b/tests/misc/cut
@@ -46,11 +46,11 @@ my @Tests =
# Provoke a double-free in cut from coreutils-6.7.
['dbl-free', '-f2-', {IN=>{f=>'x'}}, {IN=>{g=>'y'}}, {OUT=>"x\ny\n"}],
- # This failed (as it should) even before coreutils-6.10,
- # but cut from 6.10 produces a more useful diagnostic.
+ # This failed (as it should) even before coreutils-6.9.90,
+ # but cut from 6.9.90 produces a more useful diagnostic.
['zero-1', '-b0', {ERR=>$diag}, {EXIT => 1} ],
- # Before coreutils-6.10, specifying a range of 0-2 was not an error.
+ # Up to coreutils-6.9, specifying a range of 0-2 was not an error.
# It was treated just like "-2".
['zero-2', '-f0-2', {ERR=>$diag}, {EXIT => 1} ],
);
diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc
index 1e4f327f9..9e0706577 100755
--- a/tests/misc/ls-misc
+++ b/tests/misc/ls-misc
@@ -138,11 +138,11 @@ my @Tests =
{OUT => "\e[0m\e[01;36md\e[0m\@\n\e[m"},
$slink_d, $unlink_d],
- # Test for a bug fixed in coreutils-6.10.
+ # Test for a bug fixed after coreutils-6.9.
['sl-target', '--color=always d',
{OUT => "\e[0m\e[01;34mX\e[0m\n\e[m"}, $target, $target2],
- # Test for another bug fixed in coreutils-6.10.
+ # Test for another bug fixed after coreutils-6.9.
# This one bites only for a system/file system with d_type support.
['sl-dangle', '--color=always d',
{OUT => "\e[0m\e[40;31;01mX\e[0m\n\e[m"},
diff --git a/tests/misc/od b/tests/misc/od
index d827c2b07..bf41c3846 100755
--- a/tests/misc/od
+++ b/tests/misc/od
@@ -59,7 +59,7 @@ my $proc_file_byte_count = $len;
my @Tests =
(
# Skip the exact length of the input file.
- # Before coreutils-6.10, this would ignore the "-j 1".
+ # Up to coreutils-6.9, this would ignore the "-j 1".
['j-bug1', '-c -j 1 -An', {IN=>{g=>'a'}}, {OUT=>''}],
['j-bug2', '-c -j 2 -An', {IN=>{g=>'a'}}, {IN=>{h=>'b'}}, {OUT=>''}],
# Skip the sum of the lengths of the first three inputs.
diff --git a/tests/misc/stty-invalid b/tests/misc/stty-invalid
index a2a636d06..d35159475 100755
--- a/tests/misc/stty-invalid
+++ b/tests/misc/stty-invalid
@@ -30,14 +30,14 @@ fail=0
saved_state=`stty -g` || fail=1
stty $saved_state || fail=1
-# Before coreutils-6.10, if stty were given an argument with 35 colons
+# Before coreutils-6.9.90, if stty were given an argument with 35 colons
# separating 36 hexadecimal strings, stty would fail to diagnose as invalid
# any number that was out of range as long as sscanf happened to
# overflow/wrap it back into the range of the corresponding type (either
# tcflag_t or cc_t).
-# For each of the following, before 6.10, stty would fail to
-# diagnose the error on at least Solaris 10.
+# For each of the following, with coreutils-6.9 and earlier,
+# stty would fail to diagnose the error on at least Solaris 10.
hex_2_64=10000000000000000
stty `echo $saved_state |sed 's/^[^:]*:/'$hex_2_64:/` 2>/dev/null && fail=1
stty `echo $saved_state |sed 's/:[0-9a-f]*$/:'$hex_2_64/` 2>/dev/null && fail=1
diff --git a/tests/tr/Test.pm b/tests/tr/Test.pm
index 804c5cb38..7b25a156e 100644
--- a/tests/tr/Test.pm
+++ b/tests/tr/Test.pm
@@ -133,7 +133,7 @@ my @tv = (
# From Glenn Fowler.
['fowler-1', q|ah -H|, 'aha', '-H-', 0],
-# Prior to coreutils-6.10, this would provoke a failed assertion.
+# Up to coreutils-6.9, this would provoke a failed assertion.
['no-abort-1', '-c ' . q|a '[b*256]'|, 'abc', 'abb', 0],
# Up to coreutils-6.9, tr rejected an unmatched [:lower:] or [:upper:] in SET1.