We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82718a8 + 099a5dd commit 3b0f47dCopy full SHA for 3b0f47d
tests/by-util/test_seq.rs
@@ -16,7 +16,9 @@ fn test_broken_pipe_still_exits_success() {
16
use std::process::Stdio;
17
18
let mut child = new_ucmd!()
19
- .args(&["1", "5"])
+ // Use an infinite sequence so a burst of output happens immediately after spawn.
20
+ // With small output the process can finish before stdout is closed and the Broken pipe never occurs.
21
+ .args(&["inf"])
22
.set_stdout(Stdio::piped())
23
.run_no_wait();
24
0 commit comments