From: Pádraig Brady
Date: Tue, 30 Jun 2015 13:30:57 +0000 (+0100) Subject: tests: avoid false failure on FreeBSD systems X-Git-Tag: v8.24~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491f54fb5a9d52b5f42f4a946094f7919da2966f;p=thirdparty%2Fcoreutils.git 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. --- 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.