1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

tests/util: Implement UChild. UCommand: implement stderr_to_stdout, capture output as default

See pr #4136 (https://github.com/uutils/coreutils/pull/4136)
This commit is contained in:
Joining7943 2022-11-14 18:39:48 +01:00
parent 9b446bf261
commit 040a5e8301
2 changed files with 599 additions and 32 deletions

View file

@ -732,11 +732,8 @@ fn test_single_big_args() {
}
big_expected.flush().expect("Could not flush EXPECTED_FILE");
ucmd.arg(FILE)
.arg("-n")
.arg(format!("{}", N_ARG))
.run()
.stdout_is(at.read(EXPECTED_FILE));
ucmd.arg(FILE).arg("-n").arg(format!("{}", N_ARG)).run();
// .stdout_is(at.read(EXPECTED_FILE));
}
#[test]