Commit b4ace61
committed
run-tests: Fix getting stuck when the test process dies uncleanly
When a test process spawns a subprocess that keeps STDOUT open and then dies
uncleanly, while writing something to STDERR `run-tests.php` would erroneously
attempt to read from `STDOUT` and then get blocked until the subprocess dies
(which might never happen).1 parent ab595c0 commit b4ace61
File tree
2 files changed
+20
-4
lines changed- ext/zend_test/tests
2 files changed
+20
-4
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
1232 | | - | |
1233 | | - | |
1234 | | - | |
1235 | | - | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| |||
0 commit comments