com php-src: different OSes have different messages, and that's not what the test is about anyway: Zend/tests/bug30998.phpt Zend/tests/b
ug60909_1.phpt
| From: | Stanislav Malyshev | Date: | Mon, 14 Jan 2013 00:58:27 +0000 |
| Subject: | com php-src: different OSes have different messages, and that's not what the test is about anyway: Zend/tests/bug30998.phpt Zend/tests/b ug60909_1.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70932@lists.php.net to get a copy of this message | ||
Commit: c6203da6c26439ed698193f71e3983be74a4545b
Author: Stanislav Malyshev <stas@php.net> Sun, 13 Jan 2013 16:34:35 -0800
Parents: a06313fe5ab49b20bdafbae6b000bda8d9ca3176
Branches: PHP-5.4 PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c6203da6c26439ed698193f71e3983be74a4545b
Log:
different OSes have different messages, and that's not what the test is about anyway
Changed paths:
M Zend/tests/bug30998.phpt
M Zend/tests/bug60909_1.phpt
Diff:
diff --git a/Zend/tests/bug30998.phpt b/Zend/tests/bug30998.phpt
index d0ace9f..032da3d 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 5150dfc..cfe4289 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)