diff --git a/nextest-runner/src/test_command/imp.rs b/nextest-runner/src/test_command/imp.rs index 13eea11bf5d..be555d2f4ed 100644 --- a/nextest-runner/src/test_command/imp.rs +++ b/nextest-runner/src/test_command/imp.rs @@ -1,3 +1,6 @@ +// Copyright (c) The nextest Contributors +// SPDX-License-Identifier: MIT OR Apache-2.0 + use crate::test_output::CaptureStrategy; use std::process::Stdio; use tokio::{ diff --git a/nextest-runner/src/test_command/unix.rs b/nextest-runner/src/test_command/unix.rs index 9dba6adf451..2015bb0912f 100644 --- a/nextest-runner/src/test_command/unix.rs +++ b/nextest-runner/src/test_command/unix.rs @@ -1,3 +1,6 @@ +// Copyright (c) The nextest Contributors +// SPDX-License-Identifier: MIT OR Apache-2.0 + use super::Stdio; use std::{ io, @@ -91,7 +94,8 @@ pub(super) fn setup_io(cmd: &mut std::process::Command) -> io::Result { target_os = "linux", target_os = "netbsd", target_os = "openbsd", - target_os = "redox" + target_os = "redox", + target_os = "illumos" ))] { cvt(libc::pipe2(fds.as_mut_ptr(), libc::O_CLOEXEC))?; ours = std::os::fd::OwnedFd::from_raw_fd(fds[0]); diff --git a/nextest-runner/src/test_command/windows.rs b/nextest-runner/src/test_command/windows.rs index 13af8107729..cf80e31b170 100644 --- a/nextest-runner/src/test_command/windows.rs +++ b/nextest-runner/src/test_command/windows.rs @@ -1,3 +1,6 @@ +// Copyright (c) The nextest Contributors +// SPDX-License-Identifier: MIT OR Apache-2.0 + use std::{ io, os::windows::{ffi::OsStrExt as _, io::FromRawHandle as _, prelude::OwnedHandle},