From 491f54fb5a9d52b5f42f4a946094f7919da2966f Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Tue, 30 Jun 2015 14:30:57 +0100 Subject: [PATCH] tests: avoid false failure on FreeBSD systems * tests/misc/stty.sh: FreeBSD returns ENOTTY for the TIOCEXT ioctl, so just avoid this option for now. --- tests/misc/stty.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/misc/stty.sh b/tests/misc/stty.sh index 5c2575522d..5e39b72e57 100755 --- a/tests/misc/stty.sh +++ b/tests/misc/stty.sh @@ -57,6 +57,10 @@ for opt in $options; do cstopb|crtscts|cdtrdsr|icanon) continue;; esac + # This is listed as supported on FreeBSD + # but the ioctl returns ENOTTY. + test $opt = extproc && continue + stty $opt || fail=1 # Likewise, 'stty -cread' would fail, so skip that, too. -- 2.47.2