yes: use tee syscall as fast-path

This commit is contained in:
oech3
2026-04-30 14:45:28 +02:00
committed by Dorian Péron
parent a07879b8ab
commit 4620c2f3b6
5 changed files with 63 additions and 6 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ fn test_long_input() {
#[cfg(windows)]
const TIMES: usize = 500;
let arg = "abcdef".repeat(TIMES) + "\n";
let expected_out = arg.repeat(30);
let expected_out = arg.repeat(5);
run(&[&arg[..arg.len() - 1]], expected_out.as_bytes());
}