Bug #73609 [Opn]: "run-tests.php" don't respect configuration

From: Date: Wed, 01 Feb 2017 13:17:47 +0000
Subject: Bug #73609 [Opn]: "run-tests.php" don't respect configuration
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207096@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73609&edit=1

 ID:                 73609
 User updated by:    spam2 at rhsoft dot net
 Reported by:        spam2 at rhsoft dot net
 Summary:            "run-tests.php" don't respect configuration
 Status:             Open
 Type:               Bug
 Package:            Dynamic loading
 Operating System:   Linux
 PHP Version:        7.0.14
 Block user comment: N
 Private report:     N

 New Comment:

frankly there are 15000 tests and only the openssl specific ones behave braindead by ignore the
configuration and that still continues with 7.1.2RC1

#46127, openssl_sign/verify: accept different algos [ext/openssl/tests/bug46127.phpt]
Bug #48182: ssl handshake fails during asynchronous socket connection
[ext/openssl/tests/bug48182.phpt]
Bug #54992: Stream not closed and error not returned when SSL CN_match fails
[ext/openssl/tests/bug54992.phpt]
Bug #65538: SSL context "cafile" supports stream wrappers
[ext/openssl/tests/bug65538_001.phpt]
Bug #65538: SSL context "cafile" supports phar wrapper
[ext/openssl/tests/bug65538_003.phpt]
Bug #65729: CN_match gives false positive when wildcard is used [ext/openssl/tests/bug65729.phpt]
Bug #68265: SAN match fails with trailing DNS dot [ext/openssl/tests/bug68265.phpt]
Bug #68879: Match IP address fields in subjectAltName checks [ext/openssl/tests/bug68879.phpt]
Bug #68920: peer_fingerprint input checks should be strict [ext/openssl/tests/bug68920.phpt]
Bug #69215: Crypto servers should send client CA list [ext/openssl/tests/bug69215.phpt]
capture_peer_cert context captures on verify failure [ext/openssl/tests/capture_peer_cert_001.phpt]
Testing peer fingerprint on connection [ext/openssl/tests/openssl_peer_fingerprint_basic.phpt]
Peer verification enabled for client streams [ext/openssl/tests/peer_verification.phpt]
Peer verification matches SAN names [ext/openssl/tests/san_peer_matching.phpt]
Capture SSL session meta array in stream context [ext/openssl/tests/session_meta_capture.phpt]
sni_server [ext/openssl/tests/sni_server.phpt]
Basic bitwise stream crypto context flag assignment [ext/openssl/tests/stream_crypto_flags_001.phpt]
TLSv1.1 and TLSv1.2 bitwise stream crypto flag assignment
[ext/openssl/tests/stream_crypto_flags_002.phpt]
Server bitwise stream crypto flag assignment [ext/openssl/tests/stream_crypto_flags_003.phpt]
Specific protocol method specification [ext/openssl/tests/stream_crypto_flags_004.phpt]
Verify host name by default in client transfers [ext/openssl/tests/stream_verify_peer_name_001.phpt]
Allow host name mismatch when "verify_host" disabled
[ext/openssl/tests/stream_verify_peer_name_002.phpt]
Host name mismatch triggers error [ext/openssl/tests/stream_verify_peer_name_003.phpt]
Specific crypto method for ssl:// transports. [ext/openssl/tests/streams_crypto_method.phpt]
tlsv1.0 stream wrapper [ext/openssl/tests/tlsv1.0_wrapper.phpt]
tlsv1.1 stream wrapper [ext/openssl/tests/tlsv1.1_wrapper.phpt]
tlsv1.2 stream wrapper [ext/openssl/tests/tlsv1.2_wrapper.phpt]


Previous Comments:
------------------------------------------------------------------------
[2017-01-10 01:59:38] spam2 at rhsoft dot net

The test calls needs to be fixed - if they would act like 12000 other tests and respect the
commandline of the initial call it would be loaded and present the same way as it would when
compiled static instead as loadable extensions 

The openssl tests must not use a different configuration then others 

And since every extension here is built shared and shipped with its own rpm package there is no
point handle that differently

------------------------------------------------------------------------
[2017-01-09 18:50:11] bukka@php.net

I think that this is more about dynamic loading. There really isn't anything that could be
fixed in ext/openssl as far as I understand the description.

------------------------------------------------------------------------
[2017-01-09 18:50:10] bukka@php.net

I think that this is more about dynamic loading. There really isn't anything that could be
fixed in ext/openssl as far as I understand the description.

------------------------------------------------------------------------
[2017-01-09 10:09:40] spam2 at rhsoft dot net

can you reasign it to the openssl component since it's the only one affected?

------------------------------------------------------------------------
[2017-01-08 23:10:36] cmb@php.net

> these are clearly bugs […]

I don't have the time to have a closer look at this, but patches
(preferably as pull request) are most certainly welcome. :-)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=73609


--
Edit this bug report at https://bugs.php.net/bug.php?id=73609&edit=1


Thread (21 messages)

« previous php.bugs (#207096) next »