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: Matthew Burgess
Subject: Re: stty & stty-row-col test failures
Date: Mon, 7 Dec 2009 13:50:13 -0700
User-agent: RoundCube Webmail/0.1b

> 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
> +
>    stty $opt || fail=1

Padraig,

Thanks for that, it fixes the test failure for me.

Regards,

Matt.





reply via email to

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