summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-01-05 15:31:50 +0000
committerPádraig Brady <P@draigBrady.com>2012-01-05 15:31:50 +0000
commitc84c36220794efdb7950b9b94997f68f1ad60ddb (patch)
tree7e527f4009a2bb62f8e1694a67ddb797ba79e747 /tests/misc
parent45354d58dea427f050390bbf0f04c6c509a61b0e (diff)
downloadcoreutils-c84c36220794efdb7950b9b94997f68f1ad60ddb.tar.xz
tests: avoid stty icanon issues on some platforms
* tests/misc/stty: Exclude 'icanon' for the list to check, as it's problematic on ppc*|sparc* platforms.
Diffstat (limited to 'tests/misc')
-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