bugGNU roff - Bugs: bug #61891, [grotty]...

 
 

bug #61891: [grotty] "LC_CTYPE=en_US" breaks tests/basic_latin_glyphs_map_correctly.sh

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Fri 21 Jan 2022 02:31:28 AM UTC
   
 
Category:  Driver grotty Severity:  3 - Normal
Item Group:  Test Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Jan 2022 05:00:41 PM UTC, comment #4: 


commit 4115620b4d10d0d2b1d45eb9ceca2825e742579d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sun Jan 23 22:34:08 2022 +1100

    [grotty]: Skip part of test if no UTF-8 support.

    * src/devices/grotty/tests/basic_latin_glyphs_map_correctly.sh: Skip
      test of 'utf8' output device if locale lacks UTF-8 support.  But if
      the 'ascii' or 'latin1' test cases have already failed, report that
      instead.

    Fixes <https://savannah.gnu.org/bugs/?61891>.  Thanks to Bjarni
    Ingi Gislason for the report.


G. Branden Robinson <gbranden>
Group administrator
Sun 23 Jan 2022 04:15:21 AM UTC, comment #3: 

comment #2:

>   The output of the test contains the text 'checking "utf8" output device'
>
>   Test for example with
>
> LC_CTYPE= en_US.iso88591 .../grotty/tests/*
>


Thanks for following up.  This is enough for me to locate what you're talking about.  For future reference, please include the output line from when the test suite runs, which helpfully identifies the test script in question.

Like this:


FAIL: src/devices/grotty/tests/basic_latin_glyphs_map_correctly.sh


Can reproduce.  Thanks for the report.

G. Branden Robinson <gbranden>
Group administrator
Sat 22 Jan 2022 09:17:17 PM UTC, comment #2: 

  The output of the test contains the text 'checking "utf8" output device'

  Test for example with

LC_CTYPE= en_US.iso88591 .../grotty/tests/*

Bjarni Ingi Gislason <bjarniig>
Fri 21 Jan 2022 02:54:36 AM UTC, comment #1: 

What do you mean by a "test for device = utf8"?

What is the behavior you are observing, and what did you expect?

What diagnostic messages are being produced, if any?

I see that the Item Group is "Test"...is this a complaint about the source tree's test suite?

G. Branden Robinson <gbranden>
Group administrator
Fri 21 Jan 2022 02:31:28 AM UTC, original submission:  

Subject: grotty, test for device = utf8 fails if LC_CTYPE is not compatible

LC_CTYPE must be defined as to be one of C, C.UTF-8, POSIX, '*.utf8',
and maybe more cases, in the output of "locale -a".

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-07 gbranden CategoryDriver - others/general Driver grotty
    2022-01-24 gbranden StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-01-23 gbranden Summarygrotty, test for device = utf8 fails if LC_CTYPE is not compatible [grotty] "LC_CTYPE=en_US" breaks tests/basic_latin_glyphs_map_correctly.sh
    2022-01-23 gbranden StatusNeed Info Confirmed
        Assigned toNone gbranden
    2022-01-21 gbranden StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code