diff options
Diffstat (limited to 'src/tests/stream_wrapper_restore.phpt')
| -rw-r--r-- | src/tests/stream_wrapper_restore.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/tests/stream_wrapper_restore.phpt b/src/tests/stream_wrapper_restore.phpt deleted file mode 100644 index c1bce3b..0000000 --- a/src/tests/stream_wrapper_restore.phpt +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Stream wrapper | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini | ||
| 7 | --FILE-- | ||
| 8 | <?php | ||
| 9 | stream_wrapper_restore("file"); | ||
| 10 | fopen("file://asdasd", "r"); | ||
| 11 | ?> | ||
| 12 | --EXPECTF-- | ||
| 13 | Notice: stream_wrapper_restore(): file:// was never changed, nothing to restore in %a/tests/stream_wrapper_restore.php on line %d | ||
| 14 | |||
| 15 | Warning: 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 | ||
| 16 | |||
| 17 | Warning: fopen(file://asdasd): failed to open stream: No such file or directory in %a/tests/stream_wrapper_restore.php on line %d | ||
