summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/misc/stty4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/misc/stty b/tests/misc/stty
index 5bef0e874..689fb8d37 100755
--- a/tests/misc/stty
+++ b/tests/misc/stty
@@ -62,7 +62,9 @@ for opt in $options; do
# stty: standard input: unable to perform all requested operations
# on Linux 2.2.0-pre4 kernels. Also since around Linux 2.6.30
# other serial control settings give the same error. So skip them.
- case $opt in parenb|parodd|cstopb|crtscts) continue;; esac
+ # Also on ppc*|sparc* glibc platforms 'icanon' gives the same error.
+ # See: http://debbugs.gnu.org/7228#14
+ case $opt in parenb|parodd|cstopb|crtscts|icanon) continue;; esac
stty $opt || fail=1