You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following testcases fail in my specific environment:
ExecutorTest::testExecuteUnixLegalSystemCommand()
ExecutorTest::testExecuteUnixGoodWorkDirectory()
ExecutorTest::testExecuteUnixChainedParameter()
This is caused by executable to test ('/bin/sh') that here is a symlink to
'bin/bash'. Therefore in DefaultExecutor::executeSystemCommandLonghand()
comparison [if (strcmp($resolved, realpath($resolved)) != 0)] is evaluated to
TRUE and an ExecutorException is thrown.
Having /bin/sh symlinked is a behavior to expect.
And as unit tests are supposed to test correctness/completeness of program code
and *not* environment specifics, ExecutorTest should be fixed in regards to
symlink awareness.
Original issue reported on code.google.com by marcus.k...@googlemail.com on 20 Sep 2010 at 9:55
The text was updated successfully, but these errors were encountered:
I consider a "getResolvedSymlink($path)" function in file
test/testresources/TestHelpers.php that in case of non-WIN OS will test for a
symlink and resolve it. For any other cases is returned unmodified.
see attached patch!
Original comment by marcus.k...@googlemail.com on 20 Sep 2010 at 11:19
Original issue reported on code.google.com by
marcus.k...@googlemail.com
on 20 Sep 2010 at 9:55The text was updated successfully, but these errors were encountered: