summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2020-12-31 14:56:20 +0100
committerjvoisin2020-12-31 14:56:20 +0100
commit6db0b53393015c639afb7e1fd8efcba65fb6234b (patch)
treee08ec38f15a1c40a136be1ecf464e8e48eb0ff23
parent69b4fca9a673f9f01dd01a4e2ea4df8011ac5bd7 (diff)
Enable 3 more tests
PHP8 is changing the capitalization of the error message
-rw-r--r--src/tests/stream_wrapper/stream_wrapper.phpt7
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_register.phpt2
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt6
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
5if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing"; 5if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing";
6if (!extension_loaded("openssl")) print "skip openssl extension missing"; 6if (!extension_loaded("openssl")) print "skip openssl extension missing";
7?> 7?>
8<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?>
9--INI-- 8--INI--
10sp.configuration_file={PWD}/config/config_stream_wrapper.ini 9sp.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
27Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s 26Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s
28 27
29Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s 28Warning: file_get_contents(https://qweqwezxc): %s to open stream: php_network_getaddresses: getaddrinfo failed: %s
30 29
31Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper.php on line %d 30Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper.php on line %d
32 31
33Warning: 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 32Warning: 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
35Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper.php on line %d 34Warning: 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
24Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d 24Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d
25 25
26Warning: fopen(lolol://asdasd): failed to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d 26Warning: 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
21Warning: 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 21Warning: 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
23Warning: file_get_contents(http://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 2 23Warning: 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
25Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3 25Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3
26 26
27Warning: 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 27Warning: 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
29Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4 29Warning: file_get_contents(lelel://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4