summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorColin Leitner <colin.leitner@googlemail.com>2013-11-16 12:14:18 +0100
committerPádraig Brady <P@draigBrady.com>2013-11-17 12:26:12 +0000
commit4e37fc642f6dfda7b7d78531420355c9ad3a824d (patch)
treef28050354c4635bd0d4a3b63997289367eca61e7 /tests
parent91208453756bf0e86e25c2db35e481ac178f1255 (diff)
downloadcoreutils-4e37fc642f6dfda7b7d78531420355c9ad3a824d.tar.xz
stty: add support for mark/space parity
This adds support for using a constant or "stick" parity bit. * src/stty.c (usage): Mention the new flag. * tests/misc/stty.sh: Adjust for the new flag. * NEWS: Mention the improvement. * docs/coreutils.texi (stty invocation): Mention the new flag.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/stty.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/misc/stty.sh b/tests/misc/stty.sh
index 2f9b9a3b8..8fe759246 100755
--- a/tests/misc/stty.sh
+++ b/tests/misc/stty.sh
@@ -52,7 +52,10 @@ for opt in $options; do
# other serial control settings give the same error. So skip them.
# 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|cdtrdsr|icanon) continue;; esac
+ case $opt in
+ parenb|parodd|cmspar) continue;;
+ cstopb|crtscts|cdtrdsr|icanon) continue;;
+ esac
stty $opt || fail=1