Yep, same user alright..even did chown to be sure... I find it very
strange too.
About the system:
[EMAIL PROTECTED]:# cat /etc/slackware-version
Slackware 12.0.0 (current this is)
Installed default slackware package of php:
[EMAIL PROTECTED]:# strings `which php` | grep ./configure | sed s#"'"#""#g
./configure --prefix=/usr --enable-force-cgi-redirect --enable-fastcgi
--enable-pcntl --enable-readline --enable-sigchild --prefix=/usr
--sysconfdir=/etc --disable-safe-mode --enable-apc --enable-apc-mmap
--enable-memory-limit --enable-suhosin --disable-magic-quotes
--enable-zend-multibyte --enable-mbregex --enable-tokenizer=shared
--with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd
--with-mod_charset --with-layout=PHP --enable-sigchild --enable-xml
--with-libxml-dir=/usr --enable-simplexml --enable-spl --enable-filter
--disable-debug --with-openssl=shared --with-pcre-regex=/usr
--with-zlib=shared,/usr --enable-bcmath=shared --with-bz2=shared,/usr
--enable-calendar=shared --enable-ctype=shared --with-curl=shared
--with-curlwrappers --enable-dba=shared --with-gdbm=/usr --with-db4=/usr
--enable-dbase=shared --enable-exif=shared --enable-ftp=shared
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr
--with-t1lib=/usr --enable-gd-native-ttf --enable-gd-jis-conv
--with-gettext=shared,/usr --with-gmp=shared,/usr --with-iconv=shared
--with-imap-ssl=/usr --with-imap=/usr/local/lib/c-client
--with-ldap=shared --enable-mbstring=shared --with-hash
--with-mhash=shared,/usr --with-mysql=shared,/usr
--with-mysqli=shared,/usr/bin/mysql_config --enable-pdo=shared
--with-pdo-mysql=shared,/usr --with-pdo-sqlite=shared
--with-pspell=shared,/usr --with-mm=/usr --enable-shmop=shared
--with-snmp=shared,/usr --enable-soap=shared --enable-sockets
--with-sqlite=shared --enable-sqlite-utf8 --with-regex=php
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx=shared
--with-xsl=shared,/usr --enable-zip=shared --with-tsrm-pthreads
--enable-shared=yes --enable-static=no --with-gnu-ld --with-pic
--build=i486-slackware-linux
[EMAIL PROTECTED]:/storage/www/frameworks# chown jmut.users -R zendframework
[EMAIL PROTECTED]:/storage/www/frameworks/zendframework/tests$ pwd
/storage/www/frameworks/zendframework/tests
[EMAIL PROTECTED]:/storage/www/frameworks/zendframework/tests$ php
Zend/Cache/AllTests.php
...................
30) testCleanModeNotMatchingTags3(Zend_Cache_FileBackendTest)
Zend_Cache_Exception: cache_dir is not writable
/storage/www/frameworks/zendframework/library/Zend/Cache/Backend/File.php:158
/storage/www/frameworks/zendframework/library/Zend/Cache/Backend/File.php:128
/storage/www/frameworks/zendframework/tests/Zend/Cache/FileBackendTest.php:49
/storage/www/frameworks/zendframework/tests/Zend/Cache/AllTests.php:56
/storage/www/frameworks/zendframework/tests/Zend/Cache/AllTests.php:150
FAILURES!
Tests: 121, Errors: 30, Skipped: 4.
Simon Mundy wrote:
Hi Julian
Are you running the tests as the same user as the owner of your
framework folders? It looks to me that the cache errors are caused
simply by incorrect permissions.
The other Unit Test failures are certainly worth reporting, though.
Some of them are so different to the expected value it would be worth
investigating if the tests require modification or if your install of
PHP is doing something funky. Is your PHP install from RPM or from a
manual compile?
======================================
1) testAssembleZF2301(Zend_Controller_Router_Route_RegexTest)
Failed asserting that two strings are equal.
expected string <itemlist/2>
difference < x>
got string <itemlist/1>
2) testGetRegionList(Zend_CurrencyTest)
Failed asserting that <boolean:false> is true.
3) testAtomSample3(Zend_Feed_ImportTest)
Failed asserting that <boolean:false> is true.
Expected Zend_Feed_Exception to be thrown
Failed asserting that <boolean:false> is true.
4)
testFilterSeparatesCamelCasedWordsWithSpacesByDefault(Zend_Filter_Word_SeparatorToCamelCaseTest)
Failed asserting that two strings are equal.
expected string <CamelCasedWords>
difference < xxxxxxxxxx??>
got string <Camel cased words>
5)
testFilterSeparatesCamelCasedWordsWithProvidedSeparator(Zend_Filter_Word_SeparatorToCamelCaseTest)
Failed asserting that two strings are equal.
expected string <CamelCasedWords>
difference < xxxxxxxxxx???>
got string <Camel:-:casedWords>
6)
testFilterSeparatesCamelCasedWordsWithDashes(Zend_Filter_Word_DashToCamelCaseTest)
Failed asserting that two strings are equal.
expected string <CamelCasedWords>
difference < xxxxxxxxxx??>
got string <Camel-cased-words>
7)
testFilterSeparatesCamelCasedWordsWithDashes(Zend_Filter_Word_UnderscoreToCamelCaseTest)
Failed asserting that two strings are equal.
expected string <CamelCasedWords>
difference < xxxxxxxxxx??>
got string <Camel_cased_words>
8) testConvertTo(Zend_Measure_NumberTest)
Failed asserting that two strings are equal.
expected string <25 ⑽>
difference <x>
got string <35 ⑽>
9) testCreateDhKey(Zend_OpenIdTest)
expected string <0200>
difference <xx>
got string <2000>
10) testComputeDhSecret(Zend_OpenIdTest)
expected string <0216>
difference <xxxx>
got string <2160>
11) testAssociate(Zend_OpenId_ConsumerTest)
expected string
<ed901bc561c29fd7bb42862e5f09fa37e7944a7ee72142322f34a21bfe1384b8>
difference
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
got string
<5ce74a8920ab70792fce82ecfe904b65e1909271dbb53c8646dc88e0cbf518ae>
12) testGetField(Zend_Search_Lucene_Index_SegmentInfoTest)
Failed asserting that <boolean:true> matches expected value <integer:1>.
13) testGetFieldInfos(Zend_Search_Lucene_Index_SegmentInfoTest)
Failed asserting that <boolean:true> matches expected value <integer:1>.
14) testFactoryThrowsOnBadName(Zend_Service_StrikeIron_StrikeIronTest)
Failed asserting that <string:Service
'Zend_Service_StrikeIron_BadServiceNameHere' could not be loaded: At
least one error occurred including
"Zend/Service/StrikeIron/BadServiceNameHere.php"; see includeErrors
property> matches PCRE pattern "/not found/i".
15) testIDN(Zend_Validate_HostnameTest)
Failed asserting that <boolean:false> matches expected value
<boolean:true>.
16) testDefaultFilterPath(Zend_ViewTest)
Failed asserting that <boolean:false> is true.
Hi,
[EMAIL PROTECTED]:/storage/www/frameworks/zendframework$ svn up
At revision 7606.
[EMAIL PROTECTED]:/storage/www/frameworks/zendframework/tests$ php -v
PHP 5.2.5 (cli) (built: Nov 10 2007 14:12:24)
...with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans
Like these.. using default TestConfiguration.php - see attached
report.gz from php AllTest.php
This Zend_Cache I see it complains about permissions but don't see
which dir is looking for...haven't debug.
There are couple of false etc.
Tonight will run full test with DB objects and all.
Regards,
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com