[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris 11 info test suite problems
From: |
Gavin Smith |
Subject: |
Re: Solaris 11 info test suite problems |
Date: |
Sat, 6 Jun 2015 15:54:34 +0100 |
On 6 June 2015 at 00:45, Gavin Smith <address@hidden> wrote:
> On 6 June 2015 at 00:22, Karl Berry <address@hidden> wrote:
>> Better to upset whatever terminal settings the user had beforehand
>>
>> Clearly, doing the stty on this system is desirable.
>>
>> Doing the stty on all systems is what I'm worried about, i.e.,
>> upsetting things that were fine before.
>>
>> I don't know how we're supposed to check
>> if the shell is broken or not.
>>
>> No need to check if it's broken specifically. It's enough to check if
>> we're on that system (simple uname) and then do the stty or switch to
>> another shell or skip the test.
>
> What if the same broken shell/behaviour exists on other systems, or if
> someone updates the shell to work on that system?
>
> I suppose we could first check for stty, then look for "-echo" in the
> output of stty, and then after a timed out read, look for it again and
> see if it changed, and only then run "stty sane"
Done. You can test it by doing "stty -onlcr" and seeing that that is
still the case after "make check". ("stty onlcr" to reverse it.)
Re: Solaris 11 info test suite problems, Gavin Smith, 2015/06/05