From 788fb90355f0b972e3177a353808b5d10e946754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20Fleur=20de=20Blue?= <135421389+Xylphy@users.noreply.github.com> Date: Sun, 2 Aug 2026 01:50:30 +0800 Subject: [PATCH 1/4] test(tail): experiment: increase byte count to avoid pipe buffer race Try 10,000,000 bytes instead of 100,000 to ensure the pipe always fills up and the write fails immediately when stdout is closed. This is an experiment to see if it fixes #13569. --- tests/by-util/test_tail.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 11480021a0..e3075fff91 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -5019,10 +5019,10 @@ fn test_when_piped_input_then_no_broken_pipe() { #[test] #[cfg(unix)] -fn test_when_output_closed_then_no_broken_pie() { +fn test_when_output_closed_then_no_broken_pipe() { let mut cmd = new_ucmd!(); let mut child = cmd - .args(&["-c", "100000", "/dev/zero"]) + .args(&["-c", "10000000", "/dev/zero"]) .set_stdout(Stdio::piped()) .run_no_wait(); // Dropping the stdout should not lead to an error. From 82f4e0c2f7020e2399111386ef2738a8d7efdb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20Fleur=20de=20Blue?= <135421389+Xylphy@users.noreply.github.com> Date: Sun, 2 Aug 2026 23:52:28 +0800 Subject: [PATCH 2/4] chore: retrigger CI From 553052041e327247000c0850835315c4d683bc13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20Fleur=20de=20Blue?= <135421389+Xylphy@users.noreply.github.com> Date: Mon, 3 Aug 2026 01:09:03 +0800 Subject: [PATCH 3/4] chore: retrigger CI 3 From 854b49bd920840232a7fb6821fc6653a0c206308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20Fleur=20de=20Blue?= <135421389+Xylphy@users.noreply.github.com> Date: Mon, 3 Aug 2026 01:39:32 +0800 Subject: [PATCH 4/4] chore: retrigger CI 4