diff --git a/tests/by-util/test_free.rs b/tests/by-util/test_free.rs index bac19a1..b341695 100644 --- a/tests/by-util/test_free.rs +++ b/tests/by-util/test_free.rs @@ -7,8 +7,6 @@ use pretty_assertions::assert_eq; use regex::Regex; use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; // TODO: make tests combineable (e.g. test --total --human) diff --git a/tests/by-util/test_pgrep.rs b/tests/by-util/test_pgrep.rs index 14bfc80..85b16ad 100644 --- a/tests/by-util/test_pgrep.rs +++ b/tests/by-util/test_pgrep.rs @@ -12,8 +12,6 @@ use std::{ #[cfg(target_os = "linux")] use regex::Regex; use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[cfg(target_os = "linux")] const SINGLE_PID: &str = "^[1-9][0-9]*"; diff --git a/tests/by-util/test_pidof.rs b/tests/by-util/test_pidof.rs index 9c62c0d..3dc7059 100644 --- a/tests/by-util/test_pidof.rs +++ b/tests/by-util/test_pidof.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_no_args() { diff --git a/tests/by-util/test_pidwait.rs b/tests/by-util/test_pidwait.rs index 7838715..4263801 100644 --- a/tests/by-util/test_pidwait.rs +++ b/tests/by-util/test_pidwait.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_invalid_arg() { diff --git a/tests/by-util/test_pkill.rs b/tests/by-util/test_pkill.rs index 54a4c17..f272b11 100644 --- a/tests/by-util/test_pkill.rs +++ b/tests/by-util/test_pkill.rs @@ -5,10 +5,6 @@ #[cfg(unix)] use uutests::new_ucmd; -#[cfg(unix)] -use uutests::util::TestScenario; -#[cfg(unix)] -use uutests::util_name; #[cfg(unix)] #[test] diff --git a/tests/by-util/test_ps.rs b/tests/by-util/test_ps.rs index 07070fd..f707d5c 100644 --- a/tests/by-util/test_ps.rs +++ b/tests/by-util/test_ps.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] #[cfg(target_os = "linux")] diff --git a/tests/by-util/test_pwdx.rs b/tests/by-util/test_pwdx.rs index ac83de7..a5c7ceb 100644 --- a/tests/by-util/test_pwdx.rs +++ b/tests/by-util/test_pwdx.rs @@ -8,8 +8,6 @@ use std::process; use regex::Regex; use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_no_args() { diff --git a/tests/by-util/test_skill.rs b/tests/by-util/test_skill.rs index a9e5f16..2bc61a6 100644 --- a/tests/by-util/test_skill.rs +++ b/tests/by-util/test_skill.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_no_args() { diff --git a/tests/by-util/test_snice.rs b/tests/by-util/test_snice.rs index f3d0ba8..1b64646 100644 --- a/tests/by-util/test_snice.rs +++ b/tests/by-util/test_snice.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_no_args() { diff --git a/tests/by-util/test_sysctl.rs b/tests/by-util/test_sysctl.rs index cd06056..9b6d976 100644 --- a/tests/by-util/test_sysctl.rs +++ b/tests/by-util/test_sysctl.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_invalid_arg() { @@ -16,8 +14,6 @@ fn test_invalid_arg() { mod linux { use uutests::new_ucmd; - use uutests::util::TestScenario; - use uutests::util_name; #[test] fn test_get_simple() { @@ -75,8 +71,6 @@ mod linux { mod non_linux { use uutests::new_ucmd; - use uutests::util::TestScenario; - use uutests::util_name; #[test] fn test_fails_on_unsupported_platforms() { diff --git a/tests/by-util/test_tload.rs b/tests/by-util/test_tload.rs index 95934de..0b16849 100644 --- a/tests/by-util/test_tload.rs +++ b/tests/by-util/test_tload.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_invalid_arg() { diff --git a/tests/by-util/test_top.rs b/tests/by-util/test_top.rs index ac6c3e9..76b1238 100644 --- a/tests/by-util/test_top.rs +++ b/tests/by-util/test_top.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_invalid_arg() { diff --git a/tests/by-util/test_vmstat.rs b/tests/by-util/test_vmstat.rs index 544f087..bf1492e 100644 --- a/tests/by-util/test_vmstat.rs +++ b/tests/by-util/test_vmstat.rs @@ -6,8 +6,6 @@ #[cfg(target_os = "linux")] use std::time::Duration; use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_simple() { diff --git a/tests/by-util/test_w.rs b/tests/by-util/test_w.rs index 7fdf0b8..0302564 100644 --- a/tests/by-util/test_w.rs +++ b/tests/by-util/test_w.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; #[test] fn test_invalid_arg() { diff --git a/tests/by-util/test_watch.rs b/tests/by-util/test_watch.rs index 8a2238f..2a70f3f 100644 --- a/tests/by-util/test_watch.rs +++ b/tests/by-util/test_watch.rs @@ -4,8 +4,6 @@ // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; // runddl32.exe has no console window, no side effects, // and no arguments are required.