On Sat, Aug 20, 2016 at 7:53 AM, Bernd Edlinger
<bernd.edlin...@hotmail.de> wrote:
> Hi,
>
> it turns out that in this test case the expected output depends on the COLUMNS
> setting of the terminal where the test suite is started.  With less than 82 
> columns
> the multiline output is not as expected.
>
> The reason for that seems to be at diagnostic_set_caret_max_width where
> it is dependent on isatty(fileno(stderr)) if get_terminal_width gets called.
> And looking at get_terminal_width it is clear that the different COLUMNS
> setting make the difference.
>
> With the following patch the test case succeeds independently of the terminal
> settings.
>
>
> Is it OK for trunk?

Ok.

Richard.

>
> Thanks
> Bernd.

Reply via email to