Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99681 invoked from network); 14 Sep 2011 19:58:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2011 19:58:47 -0000 Authentication-Results: pb1.pair.com header.from=confik@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=confik@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: confik@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:37350] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/10-32060-577017E4 for ; Wed, 14 Sep 2011 15:58:46 -0400 Received: by yxi13 with SMTP id 13so1911002yxi.29 for ; Wed, 14 Sep 2011 12:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=FFne5XVeA58DQEaZ6hB/LzzgItQTlmFoxMQ28ZCjIrE=; b=no46jNte89WsYdEngc6790bzZrX0kox9dpcSAL06YrEiYqY5RAEyA60M7eBzXErh9O XiKyb88gXGVUvbiMRGkoGs7/ti1h8VRSUieeS1Aaa4+hCzwUENjtRJDs8eSDRBh+J79v 4w+leKH7ZomyNneVGnePSyoW5N2JkzM6G3i3c= Received: by 10.100.205.1 with SMTP id c1mr261860ang.46.1316030323129; Wed, 14 Sep 2011 12:58:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.33.19 with HTTP; Wed, 14 Sep 2011 12:58:22 -0700 (PDT) Date: Thu, 15 Sep 2011 00:58:22 +0500 Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Running mhash tests From: confik@gmail.com (Alexey Shein) 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