From 6db0b53393015c639afb7e1fd8efcba65fb6234b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 31 Dec 2020 14:56:20 +0100 Subject: Enable 3 more tests PHP8 is changing the capitalization of the error message --- src/tests/stream_wrapper/stream_wrapper.phpt | 7 +++---- src/tests/stream_wrapper/stream_wrapper_register.phpt | 2 +- src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/tests/stream_wrapper') diff --git a/src/tests/stream_wrapper/stream_wrapper.phpt b/src/tests/stream_wrapper/stream_wrapper.phpt index 5a1dab7..588a10d 100644 --- a/src/tests/stream_wrapper/stream_wrapper.phpt +++ b/src/tests/stream_wrapper/stream_wrapper.phpt @@ -5,7 +5,6 @@ Stream wrapper if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; if (!extension_loaded("openssl")) print "skip openssl extension missing"; ?> -= 80000) print "skip"; ?> --INI-- sp.configuration_file={PWD}/config/config_stream_wrapper.ini --FILE-- @@ -26,10 +25,10 @@ Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s -Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s +Warning: file_get_contents(https://qweqwezxc): %s to open stream: php_network_getaddresses: getaddrinfo failed: %s -Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper.php on line %d +Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper.php on line %d Warning: file_get_contents(): Unable to find the wrapper "lelel" - did you forget to enable it when you configured PHP? in %a/stream_wrapper.php on line %d -Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper.php on line %d +Warning: file_get_contents(lelel://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper.php on line %d diff --git a/src/tests/stream_wrapper/stream_wrapper_register.phpt b/src/tests/stream_wrapper/stream_wrapper_register.phpt index a3ffb2e..15eb444 100644 --- a/src/tests/stream_wrapper/stream_wrapper_register.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_register.phpt @@ -23,4 +23,4 @@ Warning: fopen(): Unable to find the wrapper "lolol" - did you forget to enable Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d -Warning: fopen(lolol://asdasd): failed to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d +Warning: fopen(lolol://asdasd): %s to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d diff --git a/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt b/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt index 73090ff..b4bdc3f 100644 --- a/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt @@ -20,10 +20,10 @@ Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_without_openssl.php on line 2 -Warning: file_get_contents(http://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 2 +Warning: file_get_contents(http://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 2 -Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3 +Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3 Warning: file_get_contents(): Unable to find the wrapper "lelel" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_without_openssl.php on line 4 -Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4 +Warning: file_get_contents(lelel://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4 -- cgit v1.3