#2249: CoreUtils i18n patch
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: task | Status: reopened
Priority: high | Milestone: 6.4
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------------------+--------------------------------------
Comment (by [EMAIL PROTECTED]):
Replying to [comment:10 [EMAIL PROTECTED]:
> Replying to [comment:8 Bryan Kadzban]:
> >
> > It *looks* like somebody changed the error output from cut, but not
the expected output from the test. If the error message got changed by
the i18n patch, then I suspect the test data (missing-f1.3) should be
changed as well.
>
> Yeah. The test was known to fail, as mentioned in the original bug,
however I failed to add a note to the book...but since you've already
identified the problem, I'm working on the testsuite instead of adding
that note. Will send a fix to RH.
Spot on Bryan. Thanks.
{{{
--- coreutils-6.12-orig/tests/misc/cut 2008-05-17 01:41:11.000000000
-0500
+++ coreutils-6.12/tests/misc/cut 2008-10-22 18:14:25.000000000
-0500
@@ -26,7 +26,7 @@
my $prog = 'cut';
my $try = "Try \`$prog --help' for more information.\n";
my $from_1 = "$prog: fields and positions are numbered from 1\n$try";
-my $inval = "$prog: invalid byte or field list\n$try";
+my $inval = "$prog: invalid byte, character or field list\n$try";
my $no_endpoint = "$prog: invalid range with no endpoint: -\n$try";
my @Tests =
@@ -141,7 +141,7 @@
# None of the following invalid ranges provoked an error up to
coreutils-6.9.
['inval1', qw(-f 2-0), {IN=>''}, {OUT=>''}, {EXIT=>1},
- {ERR=>"$prog: invalid decreasing range\n$try"}],
+ {ERR=>"$inval"}],
['inval2', qw(-f -), {IN=>''}, {OUT=>''}, {EXIT=>1},
{ERR=>$no_endpoint}],
['inval3', '-f', '4,-', {IN=>''}, {OUT=>''}, {EXIT=>1},
{ERR=>$no_endpoint}],
['inval4', '-f', '1-2,-', {IN=>''}, {OUT=>''}, {EXIT=>1},
{ERR=>$no_endpoint}],
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2249#comment:11>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page