bugtexinfo - GNU documentation system - Bugs: bug #31068, accentenc test fails in UTF-8...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31068: accentenc test fails in UTF-8 locales with grep-2.6

Submitted by:  Ryan Hill <dirtyepic>
Submitted on:  Sun 19 Sep 2010 07:22:20 AM UTC  
 
Category: makeinfoRelease: 4.1.3
Priority: 5 - NormalSeverity: 3 - Normal
Item Group: bugPrivacy: Public
Open/Closed: ClosedAssigned to: Karl Berry <karl>
Status: Fixed

Sat 04 Dec 2010 12:34:52 AM UTC, comment #4:

I can confirm seeing the changes in CVS as well as the tests passing on CVS HEAD.

Brant Langer Gurganus <brantgurga>
Sat 04 Dec 2010 12:06:59 AM UTC, comment #3:

Thanks for the note. I fixed all the tests to set a uniform environment. I know several of these will need adjusting for the new makeinfo (which has vastly more extensive tests already), but anyway ...

Karl Berry <karl>
Project AdministratorIn charge of this item.
Fri 03 Dec 2010 02:17:04 AM UTC, comment #2:

I do not see this corrected in the repository. Sorry for the duplication if you're seeing this again, but the downtime of Savannah caused the loss of this feedback.

Brant Langer Gurganus <brantgurga>
Sun 19 Sep 2010 10:08:52 PM UTC, comment #1:

Thanks for the report. All the tests are meant to be run in the traditional C locale. I'll fix them to ensure that.

Karl Berry <karl>
Project AdministratorIn charge of this item.
Sun 19 Sep 2010 07:22:20 AM UTC, original submission:

grep-2.6 made some changes to multibyte handling that seems to have broken the accentenc test of the makeinfo testsuite when run under a UTF-8 locale.

halo ~/texinfo-4.13/makeinfo/tests $ locale | grep LC_ALL
LC_ALL=en_US.utf8

halo ~/texinfo-4.13/makeinfo/tests $ ./accentenc
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ exit_status=1
+ rm -f accentenc.info
+ exit 1

halo ~/texinfo-4.13/makeinfo/tests $ LC_ALL=C

halo ~/texinfo-4.13/makeinfo/tests $ ./accentenc
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ grep $'\357' accentenc.info
+ grep /L accentenc.info
+ exit_status=0
+ rm -f accentenc.info
+ exit 0

halo ~/texinfo-4.13/makeinfo/tests $ grep -V | head -n1
GNU grep 2.6.3

grep-2.5.4 works as intended.

Ryan Hill <dirtyepic>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by brantgurga (Posted a comment)
  • -unavailable- added by brantgurga (I encountered this issue as well.)
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by dirtyepic (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Dec 2010 02:17:04 AM UTCbrantgurgaCarbon-Copy-=>Added brantgurga
    Sun 19 Sep 2010 10:08:52 PM UTCkarlOpen/ClosedOpen=>Closed
      Assigned toNone=>karl
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1