com php-src: Made bug44295-win.phpt locale independent: ext/standard/tests/general_functions/bug44295-win .phpt
| From: | Christoph Michael Becker | Date: | Tue, 23 Jun 2015 23:41:33 +0000 |
| Subject: | com php-src: Made bug44295-win.phpt locale independent: ext/standard/tests/general_functions/bug44295-win .phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87496@lists.php.net to get a copy of this message | ||
Commit: cd068b1ed6fda019e211cdd87a55a0b336669a92
Author: Christoph M. Becker <cmb@php.net> Wed, 24 Jun 2015 01:41:33 +0200
Parents: b03f743e7d6326537a711d9b0913e56da7c878c3
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd068b1ed6fda019e211cdd87a55a0b336669a92
Log:
Made bug44295-win.phpt locale independent
Formerly it failed on non English installations..
Bugs:
https://bugs.php.net/44295
Changed paths:
M ext/standard/tests/general_functions/bug44295-win.phpt
Diff:
diff --git a/ext/standard/tests/general_functions/bug44295-win.phpt
b/ext/standard/tests/general_functions/bug44295-win.phpt
index d210a54..222b7be 100644
--- a/ext/standard/tests/general_functions/bug44295-win.phpt
+++ b/ext/standard/tests/general_functions/bug44295-win.phpt
@@ -23,7 +23,7 @@ try {
?>
==DONE==
<?php exit(0); ?>
---EXPECT--
+--EXPECTF--
before
-in catch: DirectoryIterator::__construct(c:\not\exists\here,c:\not\exists\here): The system cannot
find the path specified. (code: 3)
+in catch: DirectoryIterator::__construct(c:\not\exists\here,c:\not\exists\here): %s (code: 3)
==DONE==