mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27: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 xzaaa sixhundredfiftyonebytes ninetyonebytes threebytes asciilowercase ghijkl mnopq rstuv wxyz fivelines twohundredfortyonebytes onehundredlines nbbbb dxen ncccc rlimit NOFILE
|
||||
|
||||
use crate::common::util::{AtPath, TestScenario};
|
||||
use rand::{Rng, SeedableRng, rng};
|
||||
use regex::Regex;
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
|
@ -16,6 +15,11 @@ use std::{
|
|||
fs::{File, read_dir},
|
||||
io::{BufWriter, Read, Write},
|
||||
};
|
||||
use uutests::util::{AtPath, TestScenario};
|
||||
|
||||
use uutests::at_and_ucmd;
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util_name;
|
||||
|
||||
fn random_chars(n: usize) -> String {
|
||||
rng()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue