ZF-3766: A set of Zend_Session unit tests failures, which appear if non-system php is used to run unit tests.

Description

The test output:

{panel} 1) testSetExpirationSeconds(Zend_SessionTest) iteration over default Zend_Session namespace failed; expecting result === ';a === apple;o === orange;p === pear', but got 'Usage: /home/cawa/ZendFramework/svn/framework/trunk/t ests/Zend/Session/SessionTestHelper.php ' Failed asserting that is true. iteration over default Zend_Session namespace failed; expecting result === ';a === apple;o === orange;p === pear', but got 'Usage: /home/cawa/ZendFramework/svn/framework/trunk/t ests/Zend/Session/SessionTestHelper.php ' Failed asserting that is true.

2) testSetExpireSessionHops(Zend_SessionTest) iteration over default Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over default Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

3) testSetExpireSessionVarsByHops1(Zend_SessionTest) iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

4) testSetExpireSessionVarsByHops2(Zend_SessionTest) iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true. iteration over named Zend_Session namespace failed (result=''; hop #1) Failed asserting that is true.

5) testSetExpireSessionVarsByHopsOnUse(Zend_SessionTest) unexpected results iterating over named Zend_Session namespace (result=''; expected ';g === guava;p === plum'; hop #1) Failed asserting that is true. unexpected results iterating over named Zend_Session namespace (result=''; expected ';g === guava;p === plum'; hop #1) Failed asserting that is true. {panel}

Note! The output is very similar to [ZF-2629] issue, but it's another problem coused by different environment for the tests and Zend_session test helper script.

Comments

Fixed for the trunk, release-1.5 and release-1.6 branches.

Updating for the 1.6.0 release.