1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/standard/tests
Christoph M. Becker 2021a58aec Reintroduce proc_open_multiplex.phpt (GH-17192)
The main intent of the test was to show the changed behavior on
Windows; previously, `stream_select()` would return immediately there,
reporting all pipes as ready; now, it only returns if at least one pipe
is actually ready.

The original test case was overspecified; of course, we cannot assume
that the pipes are ready one after the other; depending on the concrete
`select(2)` implementation and the system scheduler, minor differences
are to be expected.

Thus we relax the test expectations, and now require that not all pipes
are reported ready after a single `stream_select()` call, and that the
output contains all strings.  We also ensure that `stream_select()`
doesn't fail (for whatever reason).  And in case of the test
expectations not being met, we also output some diagnostics (most
notably the output that has already been read).
2024-12-25 17:41:31 +01:00
..
2024-11-29 19:22:07 +01:00
2024-12-08 18:42:31 +01:00
2024-12-08 20:30:16 +00:00
2024-03-04 21:30:58 +09:00
2024-07-06 20:44:20 +01:00
2024-04-09 23:55:11 -05:00
2024-12-18 13:04:41 +01:00
2024-03-27 08:08:43 +01:00