summaryrefslogtreecommitdiff
path: root/Zend/tests
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-01-13 16:34:35 -0800
committerStanislav Malyshev <stas@php.net>2013-01-13 16:58:27 -0800
commitc6203da6c26439ed698193f71e3983be74a4545b (patch)
tree174233591cae342a4a5af9e0eba974faf713316e /Zend/tests
parenta06313fe5ab49b20bdafbae6b000bda8d9ca3176 (diff)
downloadphp-git-c6203da6c26439ed698193f71e3983be74a4545b.tar.gz
different OSes have different messages, and that's not what the test is about anyway
Diffstat (limited to 'Zend/tests')
-rw-r--r--Zend/tests/bug30998.phpt4
-rw-r--r--Zend/tests/bug60909_1.phpt2
2 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/bug30998.phpt b/Zend/tests/bug30998.phpt
index d0ace9fa16..032da3d3bc 100644
--- a/Zend/tests/bug30998.phpt
+++ b/Zend/tests/bug30998.phpt
@@ -15,7 +15,7 @@ $f = fopen("/tmp/blah", "r");
?>
===DONE===
--EXPECTF--
-fopen(/tmp/blah): failed to open stream: No such file or directory (2) in %s:%d
+fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d
-Warning: fopen(/tmp/blah): failed to open stream: No such file or directory in %s on line %d
+Warning: fopen(/tmp/blah): failed to open stream: %s in %s on line %d
===DONE===
diff --git a/Zend/tests/bug60909_1.phpt b/Zend/tests/bug60909_1.phpt
index 5150dfc025..cfe4289287 100644
--- a/Zend/tests/bug60909_1.phpt
+++ b/Zend/tests/bug60909_1.phpt
@@ -10,7 +10,7 @@ set_error_handler(function($errno, $errstr, $errfile, $errline){
require 'notfound.php';
--EXPECTF--
-error(require(notfound.php): failed to open stream: No such file or directory)
+error(require(notfound.php): failed to open stream: %s)
Warning: Uncaught exception 'Exception' with message 'Foo' in %sbug60909_1.php:5
Stack trace:
#0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array)