mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
uutests: adjust the tests to use them
This commit is contained in:
parent
ccfcda531e
commit
a0179ea239
102 changed files with 1018 additions and 157 deletions
|
@ -4,7 +4,6 @@
|
|||
// file that was distributed with this source code.
|
||||
// spell-checker:ignore (words) helloworld nodir objdump n'source
|
||||
|
||||
use crate::common::util::{TestScenario, is_ci, run_ucmd_as_root};
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
use filetime::FileTime;
|
||||
use std::fs;
|
||||
|
@ -14,6 +13,10 @@ use std::process::Command;
|
|||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
use std::thread::sleep;
|
||||
use uucore::process::{getegid, geteuid};
|
||||
use uutests::at_and_ucmd;
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util::{TestScenario, is_ci, run_ucmd_as_root};
|
||||
use uutests::util_name;
|
||||
|
||||
#[test]
|
||||
fn test_invalid_arg() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue