Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/by-util/test_more.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

#![cfg(all(unix, not(target_os = "redox")))]

#[cfg(unix)]
use std::fs::File;
#[cfg(unix)]
Expand Down
4 changes: 3 additions & 1 deletion tests/by-util/test_nohup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use std::thread::sleep;
use uutests::new_ucmd;
#[cfg(unix)]
use uutests::{at_and_ucmd, util::TestScenario, util_name};
use uutests::{util::TestScenario, util_name};

// General observation: nohup.out will not be created in tests run by cargo test
// because stdin/stdout is not attached to a TTY.
Expand Down Expand Up @@ -38,6 +38,8 @@ fn test_nohup_exit_codes() {
target_os = "openbsd"
))]
fn test_nohup_multiple_args_and_flags() {
use uutests::at_and_ucmd;

let (at, mut ucmd) = at_and_ucmd!();

ucmd.args(&["touch", "-t", "1006161200", "file1", "file2"])
Expand Down
2 changes: 1 addition & 1 deletion tests/by-util/test_stty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// spell-checker:ignore parenb parmrk ixany iuclc onlcr ofdel icanon noflsh econl igpar ispeed ospeed NCCS nonhex gstty notachar cbreak evenp oddp CSIZE

#![cfg(unix)]
#![cfg(all(unix, not(target_os = "redox")))]

use uutests::util::{expected_result, pty_path};
use uutests::{at_and_ts, new_ucmd, unwrap_or_return};
Expand Down
Loading