bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stty & stty-row-col test failures


From: Jim Meyering
Subject: Re: stty & stty-row-col test failures
Date: Tue, 08 Dec 2009 11:45:50 +0100

Pádraig Brady wrote:

> Matthew Burgess wrote:
>> Hi,
>>
>> The stty & stty-row-col tests fail for me, but I can't figure out why. I
>> wonder whether it's because I'm in a VirtualBox host and it's somehow
>> interfering with the tests?  Anyway, I've attached the logs from a
>> verbose run of both tests.  If someone wouldn't mind taking a look for
>> me please, I'd appreciate it.
>>
>> This is with Coreutils-8.1 on a Kubuntu 9.10 guest under a
>> VirtualBox-3.1.0 VM on a Windows XP host.
>>
>> If you need any more information or debug output then I'll be more than
>> happy to provide it.
>
> I asked for a kernel version before preparing a patch
> for this previously reported issue:
> http://lists.gnu.org/archive/html/bug-coreutils/2009-11/msg00059.html
> Since you've mentioned Karmic I'm going to apply the following.
>
> cheers,
> Pádraig.
>
> diff --git a/tests/misc/stty b/tests/misc/stty
> index cb3fee5..e8b2a9a 100755
> --- a/tests/misc/stty
> +++ b/tests/misc/stty
> @@ -63,8 +63,10 @@ options=`stty -a | tr -s ';' '\n' | sed "s/^ 
> //;$sed_del;s/-//g"`
>  for opt in $options; do
>    # `stty parenb' and `stty -parenb' fail with this message
>    # stty: standard input: unable to perform all requested operations
> -  # on Linux 2.2.0-pre4 kernels, so skip those tests.
> -  test $opt = parenb && continue
> +  # on Linux 2.2.0-pre4 kernels.  Also since Linux 2.6.31 the
> +  # other serial control settings give the same error. So skip them.
> +  case $opt in parenb|parodd|cstopb|crtscts) continue;; esac

Thanks!  This has been a long-standing intermittent problem.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]