mirror of
https://github.com/uutils/procps.git
synced 2026-06-10 16:14:00 -07:00
tests: make some imports linux-only
This commit is contained in:
@@ -8,8 +8,8 @@ use regex::Regex;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::process;
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util::TestScenario;
|
||||
use uutests::util_name;
|
||||
#[cfg(target_os = "linux")]
|
||||
use uutests::{util::TestScenario, util_name};
|
||||
|
||||
const NON_EXISTING_PID: &str = "999999";
|
||||
#[cfg(target_os = "linux")]
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
use uutests::util::run_ucmd_as_root;
|
||||
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util::TestScenario;
|
||||
use uutests::util_name;
|
||||
#[cfg(target_os = "linux")]
|
||||
use uutests::{util::TestScenario, util_name};
|
||||
|
||||
#[test]
|
||||
fn test_invalid_arg() {
|
||||
|
||||
Reference in New Issue
Block a user