tests: make some imports linux-only

This commit is contained in:
Daniel Hofstetter
2025-09-07 13:46:56 +02:00
parent f8737149f0
commit 78412b327f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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")]
+2 -2
View File
@@ -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() {