php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64714
Patch bug24482.patch.txt revision 2013-04-25 18:47 UTC by mattficken@php.net

Patch bug24482.patch.txt for Testing related Bug #64714

Patch version 2013-04-25 18:47 UTC

Return to Bug #64714 | Download this patch
Patch Revisions:

Developer: mattficken@php.net

--- a/ext/standard/tests/file/bug24482.phpt	Wed Apr 17 12:54:09 2013
+++ b/ext/standard/tests/file/bug24482.phpt	Thu Apr 25 11:46:55 2013
@@ -8,6 +8,11 @@
 ?>
 --FILE--
 <?php
+
+// run this test in ext/standard/tests (see bug #64714)
+chdir(__DIR__); // ensure in ext/standard/tests/file
+chdir('..'); // move up to ext/standard/tests
+
 $globdirs = glob("*", GLOB_ONLYDIR);
 
 $dirs = array();
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 19:01:30 2024 UTC