Bug #70171 [NEW]: PHPize all test failing make test
| From: | rcepeda1993 at gmail dot com | Date: | Thu, 30 Jul 2015 20:52:59 +0000 |
| Subject: | Bug #70171 [NEW]: PHPize all test failing make test | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-194845@lists.php.net to get a copy of this message | ||
From: rcepeda1993 at gmail dot com
Operating system: Ubuntu 15.04
PHP version: 5.6.11
Package: OpenSSL related
Bug Type: Bug
Bug description:PHPize all test failing make test
Description:
------------
in php-x-x/ext/openssl config.m4 does not come with php. Instead, it
includes config0.m4. I renamed it so phpize can find the config file to
compile the source code. Next, phpize reported that evp.h did not exist
for openssl which i verified its location in /usr/includes/openssl I
used configure options to point to that directory and finally it
configured. Next, I used make, then make test (as suggested by make). I
run make test and all the tests fail. Why are all of my tests failing?
Test script:
---------------
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 91 89
Tests skipped : 2 ( 2.2%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 89 ( 97.8%) (100.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 13 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
OpenSSL private key functions [tests/001.phpt]
openssl_seal() tests [tests/002.phpt]
openssl_pkcs7_decrypt() and invalid parameters [tests/003.phpt]
openssl_csr_new() tests [tests/004.phpt]
openssl_csr_get_subject() tests [tests/005.phpt]
openssl_pkey_new() with an empty sub-array arg generates a malformed
resource [tests/006.phpt]
openssl_x509_read() and openssl_x509_free() tests [tests/007.phpt]
openssl_x509_export() and openssl_x509_export_to_file() tests
[tests/008.phpt]
openssl_x509_check_private_key() tests [tests/009.phpt]
openssl_encrypt() and openssl_decrypt() tests [tests/011.phpt]
openssl_seal() error tests [tests/012.phpt]
openssl_open() tests [tests/013.phpt]
openssl_private_encrypt() tests [tests/014.phpt]
openssl_public_encrypt() tests [tests/015.phpt]
openssl_public_decrypt() tests [tests/016.phpt]
openssl_private_decrypt() tests [tests/017.phpt]
Expected result:
----------------
test should have passed.
--
Edit bug report at https://bugs.php.net/bug.php?id=70171&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70171&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70171&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70171&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70171&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70171&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70171&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70171&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70171&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70171&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70171&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70171&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70171&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70171&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70171&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70171&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70171&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70171&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70171&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70171&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70171&r=mysqlcfg