Skip to content

Commit f873714

Browse files
committed
tests: remove unused imports
1 parent ef77f04 commit f873714

File tree

15 files changed

+0
-36
lines changed

15 files changed

+0
-36
lines changed

tests/by-util/test_free.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ use pretty_assertions::assert_eq;
77
use regex::Regex;
88

99
use uutests::new_ucmd;
10-
use uutests::util::TestScenario;
11-
use uutests::util_name;
1210

1311
// TODO: make tests combineable (e.g. test --total --human)
1412

tests/by-util/test_pgrep.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ use std::{
1212
#[cfg(target_os = "linux")]
1313
use regex::Regex;
1414
use uutests::new_ucmd;
15-
use uutests::util::TestScenario;
16-
use uutests::util_name;
1715

1816
#[cfg(target_os = "linux")]
1917
const SINGLE_PID: &str = "^[1-9][0-9]*";

tests/by-util/test_pidof.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
fn test_no_args() {

tests/by-util/test_pidwait.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
fn test_invalid_arg() {

tests/by-util/test_pkill.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55

66
#[cfg(unix)]
77
use uutests::new_ucmd;
8-
#[cfg(unix)]
9-
use uutests::util::TestScenario;
10-
#[cfg(unix)]
11-
use uutests::util_name;
128

139
#[cfg(unix)]
1410
#[test]

tests/by-util/test_ps.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
#[cfg(target_os = "linux")]

tests/by-util/test_pwdx.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ use std::process;
88
use regex::Regex;
99

1010
use uutests::new_ucmd;
11-
use uutests::util::TestScenario;
12-
use uutests::util_name;
1311

1412
#[test]
1513
fn test_no_args() {

tests/by-util/test_skill.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
fn test_no_args() {

tests/by-util/test_snice.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
fn test_no_args() {

tests/by-util/test_sysctl.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// file that was distributed with this source code.
55

66
use uutests::new_ucmd;
7-
use uutests::util::TestScenario;
8-
use uutests::util_name;
97

108
#[test]
119
fn test_invalid_arg() {
@@ -16,8 +14,6 @@ fn test_invalid_arg() {
1614
mod linux {
1715

1816
use uutests::new_ucmd;
19-
use uutests::util::TestScenario;
20-
use uutests::util_name;
2117

2218
#[test]
2319
fn test_get_simple() {
@@ -75,8 +71,6 @@ mod linux {
7571
mod non_linux {
7672

7773
use uutests::new_ucmd;
78-
use uutests::util::TestScenario;
79-
use uutests::util_name;
8074

8175
#[test]
8276
fn test_fails_on_unsupported_platforms() {

0 commit comments

Comments
 (0)