diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_pty.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_pty.rs b/test/test_pty.rs index 4cc6620c..7019944b 100644 --- a/test/test_pty.rs +++ b/test/test_pty.rs @@ -135,6 +135,7 @@ fn test_open_ptty_pair() { } /// Put the terminal in raw mode. +#[cfg(not(any(target_os = "illumos", target_os = "solaris")))] fn make_raw<Fd: AsFd>(fd: Fd) { let mut termios = tcgetattr(&fd).unwrap(); cfmakeraw(&mut termios); @@ -142,6 +143,7 @@ fn make_raw<Fd: AsFd>(fd: Fd) { } /// Test `io::Read` on the PTTY master +#[cfg(not(any(target_os = "illumos", target_os = "solaris")))] #[test] fn test_read_ptty_pair() { let (mut master, mut slave) = open_ptty_pair(); @@ -159,6 +161,7 @@ fn test_read_ptty_pair() { } /// Test `io::Write` on the PTTY master +#[cfg(not(any(target_os = "illumos", target_os = "solaris")))] #[test] fn test_write_ptty_pair() { let (mut master, mut slave) = open_ptty_pair(); |