Hello, I tried to run skipped mhash tests in ext/hash, these ones in trunk:
SKIP mhash() test [ext/hash/tests/mhash_001.phpt] reason: mhash
extension is not available
SKIP mhash_get_block_size() & mhash_get_hash_name() test
[ext/hash/tests/mhash_002.phpt] reason: mhash extension is not
available
SKIP mhash_keygen_s2k() test [ext/hash/tests/mhash_003.phpt] reason:
mhash extension is not available
SKIP mhash() modifying algorithm parameter
[ext/hash/tests/mhash_004.phpt] reason: mhash extension is not
available

My configure line:
'./configure' '--with-bz2' '--enable-bcmath'
'--with-apxs2=/usr/bin/apxs2' '--with-gd' '--enable-calendar'
'--enable-gd-native-ttf' '--with-freetype-dir' '--with-jpeg-dir'
'--with-png-dir' '--enable-exif' '--with-mysql' '--with-zlib'
'--with-gettext' '--with-mcrypt' '--with-ldap' '--with-iconv'
'--enable-sockets' '--with-openssl' '--with-imap' '--with-imap-ssl'
'--with-kerberos' '--with-pspell' '--with-pdo-mysql'
'--with-pdo-sqlite' '--enable-soap' '--enable-xmlreader' '--with-xsl'
'--enable-ftp' '--enable-cgi' '--with-curl' '--with-tidy'
'--with-xmlrpc' '--enable-mbstring' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-shmop'
'--with-readline' '--with-mysqli' '--enable-zip' '--enable-wddx'
'--enable-pdo' '--with-pdo-firebird' '--with-interbase'
'--with-enchant' '--enable-intl' '--with-mhash'

So, as you see, I actually have --with-mhash in the end and don't have
--disable-hash, so usual hash tests pass correctly.
>From the docs (http://www.php.net/manual/en/mhash.installation.php)
I've found out that mhash is now emulated by hash extension and is
actually obsoleted.

Should we delete these tests (and, maybe deprecate/move to pecl the
extension itself)?
If not, I'd like to know how to run these tests.

Thank you.

-- 
Regards,
Shein Alexey

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to