unread
Running memcached extension test suite (master),
I'm affected by a strange issue.
in run-tests.php we have
$n = @stream_select($r, $w, $e, $timeout);
if ($n === false) {
break;
If I unmute the stream_select I get the following output:
Warning: stream_select()
: unable to select [4]: Interrupted system call
(max_fd=14) in /work/GIT/php-memcached/run-tests.php on line 1103
The system call is interrupted (yes, libmemcached plays with signals)
but the program still run.
Changing to
if ($n === false) {
$stat = proc_get_status($proc);
if ($stat['signaled']) {
break;
}
Allow the test to continue and succeed.
Any idea for another reason ?
What do you think of this change ?
Remi.