[php-src] PR #17192: Reintroduce proc_open_multiplex.phpt

From: Date: Tue, 17 Dec 2024 13:10:51 +0000
Subject: [php-src] PR #17192: Reintroduce proc_open_multiplex.phpt
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-30043@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17192 Author: cmb69 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).

« previous php.git-pulls (#30043) next »