coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests: avoid false failure on FreeBSD systems


From: Pádraig Brady
Subject: [PATCH] tests: avoid false failure on FreeBSD systems
Date: Tue, 30 Jun 2015 14:32:08 +0100

* 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 5c25755..5e39b72e 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.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]