summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-30 14:30:57 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-01 12:27:29 +0100
commit491f54fb5a9d52b5f42f4a946094f7919da2966f (patch)
treef847acc6ae99f7629ab719695dbb0871db285e0d /tests
parentf2db30e676c2f124a318b2313946b450fb9de79f (diff)
downloadcoreutils-491f54fb5a9d52b5f42f4a946094f7919da2966f.tar.xz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/stty.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/stty.sh b/tests/misc/stty.sh
index 5c2575522..5e39b72e5 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.