test: remove flaky test (#5468)
This commit is contained in:
parent
604bcf50ef
commit
1ec0c64c7b
2 changed files with 0 additions and 7 deletions
|
|
@ -19,12 +19,6 @@ def usingIO {α} (x : IO α) : IO α := x
|
|||
discard $ child.wait;
|
||||
child.stdout.readToEnd
|
||||
|
||||
#eval usingIO do
|
||||
let child ← spawn { cmd := "true", stdin := Stdio.piped };
|
||||
discard $ child.wait;
|
||||
child.stdin.putStrLn "ha!";
|
||||
child.stdin.flush <|> IO.println "flush of broken pipe failed"
|
||||
|
||||
#eval usingIO do
|
||||
-- produce enough output to fill both pipes on all platforms
|
||||
let out ← output { cmd := "sh", args := #["-c", "printf '%100000s' >& 2; printf '%100001s'"] };
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
0
|
||||
"ho!\n"
|
||||
"hu!\n"
|
||||
flush of broken pipe failed
|
||||
100001
|
||||
100000
|
||||
0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue