Bug #66936 [Com]: Corruption of exit code
| From: | remi@php.net | Date: | Thu, 20 Mar 2014 09:06:58 +0000 |
| Subject: | Bug #66936 [Com]: Corruption of exit code | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184839@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66936&edit=1
ID: 66936
Comment by: remi@php.net
Reported by: remi@php.net
Summary: Corruption of exit code
Status: Open
Type: Bug
Package: *General Issues
Operating System: GNU/LInux
PHP Version: 5.6.0-dev
Block user comment: N
Private report: N
New Comment:
I suspect something wrong in PHP, as the same code runs without problem against 5.5.10 (returns 0).
Previous Comments:
------------------------------------------------------------------------
[2014-03-20 09:05:20] remi@php.net
Description:
------------
Version 5.6.0-dev 201403170630 snapshot.
Running pecl/redis test suite, exit code is 255 when 0 is expected.
Test script:
---------------
From the git clone of https://github.com/nicolasff/phpredis (pecl archive
doesn't include the test suite)
Sorry I can't find a small reproducer.
The trivial "php -r 'exit(0);'" works.
So I suspect some memory corruption. Don't know if in php or in this extension.
php -n -dextension=modules/redis.so tests/TestRedis.php ; echo $?
Expected result:
----------------
Note: these tests might take up to a minute. Don't worry :-)
...............................................................S.....................................
Skipped test: /work/GIT/phpredis/tests/TestRedis.php:1869 (testWait)
All tests passed.
0
Actual result:
--------------
Note: these tests might take up to a minute. Don't worry :-)
...............................................................S.....................................
Skipped test: /work/GIT/phpredis/tests/TestRedis.php:1869 (testWait)
All tests passed.
255
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66936&edit=1