Hi,
On windows system, if we launch functional tests configTest.php in svn we obtain errors :
c:\symfony_svn\branches\1.0\php test\functional\configTest.php
not ok 1 - sfLoader::getConfigDirs() returns directories for configuration files
# Failed test (configTest.php at line 31)
# got: array ( 0 => 'SYMFONY/config/filters.yml',
1 => 'PROJECT\\plugins/sfConfigPlugin/config/filters.yml',
2 => 'PROJECT/config/filters.yml',
3 => 'PROJECT\\apps\\frontend/config/filters.yml',)
# expected: array ( 0 => 'SYMFONY/config/filters.yml',
1 => 'PROJECT/plugins/sfConfigPlugin/config/filters.yml',
2 => 'PROJECT/config/filters.yml',
3 => 'PROJECT/apps/frontend/config/filters.yml',)
As you can see, the result and expected output are different because windows system returns some backslashes (in sfConfig::get()) which is handled correctly in php, but fail when we evaluate assertions.
I've included a patch forcing backslashes to be converted in simple slashes before
comparison.
Cheers,
Pascal
SQLI Oujda/Maroc