tests: remove unused imports

This commit is contained in:
Daniel Hofstetter
2025-09-07 13:36:09 +02:00
parent ef77f0493c
commit f8737149f0
15 changed files with 0 additions and 36 deletions
-2
View File
@@ -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)
-2
View File
@@ -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]*";
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-4
View File
@@ -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]
-2
View File
@@ -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")]
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-6
View File
@@ -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() {
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-2
View File
@@ -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() {
-2
View File
@@ -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.