summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2015-07-05 07:48:43 -0400
committerPaul Osborne <Paul.Osborne@digi.com>2015-08-12 19:29:21 -0500
commit3f3845896e2508611a3d9df5df4e64432cf7f68f (patch)
treea9e6c0ba6cd21be7fd090ba412d9de0650dca843
parentbd103307f12c14487c1b265bccb1420d0ef915ad (diff)
downloadnix-3f3845896e2508611a3d9df5df4e64432cf7f68f.zip
conditionally enable ioctl test for linux
-rw-r--r--test/sys/test_ioctl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_ioctl.rs b/test/sys/test_ioctl.rs
index 78496fcb..90de9d87 100644
--- a/test/sys/test_ioctl.rs
+++ b/test/sys/test_ioctl.rs
@@ -1,3 +1,4 @@
+#![cfg(target_os = "linux")] // no ioctl support for osx yet
use nix::sys::ioctl::*;
// See C code for source of values for op calculations: