summaryrefslogtreecommitdiff
path: root/src/tests/stream_wrapper
diff options
context:
space:
mode:
authorjvoisin2019-01-14 19:29:25 +0000
committerGitHub2019-01-14 19:29:25 +0000
commite79f7e3bd992c7f0915ef9afe7afb6d79740527a (patch)
treef881c25694eb00da2331a9ab280ec1c24a5662ab /src/tests/stream_wrapper
parentc943db586ac46b686b49bdf61d8473e39dd93000 (diff)
Reorganize the testsuite
Splitting the testsuite in several components makes it easier to manage and comprehend. This was also needed some some tests aren't passing on Alpine Linux, but we still want to run as many of them as we can on this platform.
Diffstat (limited to '')
-rw-r--r--src/tests/stream_wrapper/config/config_stream_wrapper.ini (renamed from src/tests/config/config_stream_wrapper.ini)0
-rw-r--r--src/tests/stream_wrapper/config/config_stream_wrapper_register.ini (renamed from src/tests/config/config_stream_wrapper_register.ini)0
-rw-r--r--src/tests/stream_wrapper/stream_wrapper.phpt (renamed from src/tests/stream_wrapper.phpt)8
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_register.phpt (renamed from src/tests/stream_wrapper_register.phpt)6
-rw-r--r--src/tests/stream_wrapper/stream_wrapper_restore.phpt (renamed from src/tests/stream_wrapper_restore.phpt)6
5 files changed, 10 insertions, 10 deletions
diff --git a/src/tests/config/config_stream_wrapper.ini b/src/tests/stream_wrapper/config/config_stream_wrapper.ini
index 0cd7f77..0cd7f77 100644
--- a/src/tests/config/config_stream_wrapper.ini
+++ b/src/tests/stream_wrapper/config/config_stream_wrapper.ini
diff --git a/src/tests/config/config_stream_wrapper_register.ini b/src/tests/stream_wrapper/config/config_stream_wrapper_register.ini
index ee273a1..ee273a1 100644
--- a/src/tests/config/config_stream_wrapper_register.ini
+++ b/src/tests/stream_wrapper/config/config_stream_wrapper_register.ini
diff --git a/src/tests/stream_wrapper.phpt b/src/tests/stream_wrapper/stream_wrapper.phpt
index efd4160..fdea50c 100644
--- a/src/tests/stream_wrapper.phpt
+++ b/src/tests/stream_wrapper/stream_wrapper.phpt
@@ -18,14 +18,14 @@ Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it
18 18
19Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0 19Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it when you configured PHP? in Unknown on line 0
20 20
21Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in %a/tests/stream_wrapper.php on line %d 21Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in %a/stream_wrapper.php on line %d
22 22
23Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s 23Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s
24 24
25Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s 25Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s
26 26
27Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/tests/stream_wrapper.php on line %d 27Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper.php on line %d
28 28
29Warning: file_get_contents(): Unable to find the wrapper "lelel" - did you forget to enable it when you configured PHP? in %a/tests/stream_wrapper.php on line %d 29Warning: 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
30 30
31Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/tests/stream_wrapper.php on line %d 31Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper.php on line %d
diff --git a/src/tests/stream_wrapper_register.phpt b/src/tests/stream_wrapper/stream_wrapper_register.phpt
index 31e53ea..39514e9 100644
--- a/src/tests/stream_wrapper_register.phpt
+++ b/src/tests/stream_wrapper/stream_wrapper_register.phpt
@@ -18,8 +18,8 @@ fopen("lelel://asdasd", "r");
18fopen("lolol://asdasd", "r"); 18fopen("lolol://asdasd", "r");
19?> 19?>
20--EXPECTF-- 20--EXPECTF--
21Warning: fopen(): Unable to find the wrapper "lolol" - did you forget to enable it when you configured PHP? in %a/tests/stream_wrapper_register.php on line %d 21Warning: fopen(): Unable to find the wrapper "lolol" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_register.php on line %d
22 22
23Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/tests/stream_wrapper_register.php on line %d 23Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d
24 24
25Warning: fopen(lolol://asdasd): failed to open stream: no suitable wrapper could be found in %a/tests/stream_wrapper_register.php on line %d 25Warning: fopen(lolol://asdasd): failed 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_restore.phpt b/src/tests/stream_wrapper/stream_wrapper_restore.phpt
index c1bce3b..b4a29c8 100644
--- a/src/tests/stream_wrapper_restore.phpt
+++ b/src/tests/stream_wrapper/stream_wrapper_restore.phpt
@@ -10,8 +10,8 @@ stream_wrapper_restore("file");
10fopen("file://asdasd", "r"); 10fopen("file://asdasd", "r");
11?> 11?>
12--EXPECTF-- 12--EXPECTF--
13Notice: stream_wrapper_restore(): file:// was never changed, nothing to restore in %a/tests/stream_wrapper_restore.php on line %d 13Notice: stream_wrapper_restore(): file:// was never changed, nothing to restore in %a/stream_wrapper_restore.php on line %d
14 14
15Warning: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %a/tests/stream_wrapper_restore.php on line %d 15Warning: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_restore.php on line %d
16 16
17Warning: fopen(file://asdasd): failed to open stream: No such file or directory in %a/tests/stream_wrapper_restore.php on line %d 17Warning: fopen(file://asdasd): failed to open stream: No such file or directory in %a/stream_wrapper_restore.php on line %d