From c84c36220794efdb7950b9b94997f68f1ad60ddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Thu, 5 Jan 2012 15:31:50 +0000 Subject: [PATCH] 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. --- tests/misc/stty | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/misc/stty b/tests/misc/stty index 5bef0e8..689fb8d 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 -- 2.7.4