diff options
| author | jvoisin | 2020-12-31 14:56:20 +0100 |
|---|---|---|
| committer | jvoisin | 2020-12-31 14:56:20 +0100 |
| commit | 6db0b53393015c639afb7e1fd8efcba65fb6234b (patch) | |
| tree | e08ec38f15a1c40a136be1ecf464e8e48eb0ff23 | |
| parent | 69b4fca9a673f9f01dd01a4e2ea4df8011ac5bd7 (diff) | |
Enable 3 more tests
PHP8 is changing the capitalization of the error message
| -rw-r--r-- | src/tests/stream_wrapper/stream_wrapper.phpt | 7 | ||||
| -rw-r--r-- | src/tests/stream_wrapper/stream_wrapper_register.phpt | 2 | ||||
| -rw-r--r-- | src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt | 6 |
3 files changed, 7 insertions, 8 deletions
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 | |||
| 5 | if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; | 5 | if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; |
| 6 | if (!extension_loaded("openssl")) print "skip openssl extension missing"; | 6 | if (!extension_loaded("openssl")) print "skip openssl extension missing"; |
| 7 | ?> | 7 | ?> |
| 8 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 9 | --INI-- | 8 | --INI-- |
| 10 | sp.configuration_file={PWD}/config/config_stream_wrapper.ini | 9 | sp.configuration_file={PWD}/config/config_stream_wrapper.ini |
| 11 | --FILE-- | 10 | --FILE-- |
| @@ -26,10 +25,10 @@ Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget | |||
| 26 | 25 | ||
| 27 | Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s | 26 | Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s |
| 28 | 27 | ||
| 29 | Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s | 28 | Warning: file_get_contents(https://qweqwezxc): %s to open stream: php_network_getaddresses: getaddrinfo failed: %s |
| 30 | 29 | ||
| 31 | Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper.php on line %d | 30 | Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper.php on line %d |
| 32 | 31 | ||
| 33 | 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 | 32 | 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 |
| 34 | 33 | ||
| 35 | Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper.php on line %d | 34 | 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 | |||
| 23 | 23 | ||
| 24 | Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d | 24 | Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d |
| 25 | 25 | ||
| 26 | Warning: fopen(lolol://asdasd): failed to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d | 26 | 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 | |||
| 20 | 20 | ||
| 21 | 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 | 21 | 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 |
| 22 | 22 | ||
| 23 | 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 | 23 | 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 |
| 24 | 24 | ||
| 25 | Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3 | 25 | Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3 |
| 26 | 26 | ||
| 27 | 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 | 27 | 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 |
| 28 | 28 | ||
| 29 | 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 | 29 | 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 |
