uutests: adjust the tests to use them

This commit is contained in:
Sylvestre Ledru
2025-03-28 21:40:31 +01:00
parent ccfcda531e
commit a0179ea239
102 changed files with 1018 additions and 157 deletions
+5 -1
View File
@@ -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()