diff options
Diffstat (limited to 'test/test_pty.rs')
-rw-r--r-- | test/test_pty.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_pty.rs b/test/test_pty.rs index 52b63342..57874de3 100644 --- a/test/test_pty.rs +++ b/test/test_pty.rs @@ -114,6 +114,8 @@ fn open_ptty_pair() -> (PtyMaster, File) { let slave_fd = open(Path::new(&slave_name), OFlag::O_RDWR, stat::Mode::empty()).unwrap(); #[cfg(target_os = "illumos")] + // TODO: rewrite using ioctl! + #[allow(clippy::comparison_chain)] { use libc::{ioctl, I_FIND, I_PUSH}; |