Skip to content

Commit c6203da

Browse files
committed
different OSes have different messages, and that's not what the test is about anyway
1 parent a06313f commit c6203da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Zend/tests/bug30998.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $f = fopen("/tmp/blah", "r");
1515
?>
1616
===DONE===
1717
--EXPECTF--
18-
fopen(/tmp/blah): failed to open stream: No such file or directory (2) in %s:%d
18+
fopen(/tmp/blah): failed to open stream: %s (2) in %s:%d
1919

20-
Warning: fopen(/tmp/blah): failed to open stream: No such file or directory in %s on line %d
20+
Warning: fopen(/tmp/blah): failed to open stream: %s in %s on line %d
2121
===DONE===

Zend/tests/bug60909_1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set_error_handler(function($errno, $errstr, $errfile, $errline){
1010

1111
require 'notfound.php';
1212
--EXPECTF--
13-
error(require(notfound.php): failed to open stream: No such file or directory)
13+
error(require(notfound.php): failed to open stream: %s)
1414
Warning: Uncaught exception 'Exception' with message 'Foo' in %sbug60909_1.php:5
1515
Stack trace:
1616
#0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array)

0 commit comments

Comments
 (0)