coreutils/tests/common
Joining7943 1c230fd779 tests/util: Refactor UCommand and TestScenario.
Summary of changes in UCommand:
* Extend UCommand by builder methods and simplify methods in TestScenario
* Simplify code structures where possible. Add documentation.
* Store bin_path as PathBuf and util_name as String in all structs
* Remove UCommand::util and make bin_path, temp_dir private
* Rename UCommand::with_limit -> UCommand::limit

Summary of changes in TestScenario:
* Rename some parameters in TestScenario methods to be more descriptive
* Remove ucmd_keepenv, cmd_keepenv from TestScenario. Use UCommand::keep_env instead.
2023-02-18 23:38:20 +01:00
..
macros.rs fix some clippy warnings (#4229) 2022-12-14 15:42:07 +01:00
mod.rs tail: improve performance of piped stdin 2022-09-09 13:51:37 +02:00
random.rs chore: standardize creation of empty strings 2022-12-01 13:49:23 +01:00
util.rs tests/util: Refactor UCommand and TestScenario. 2023-02-18 23:38:20 +01:00