com php-src: Fix Test Bug #64714: ext/standard/tests/file/bug24482.phpt

From: Date: Thu, 25 Apr 2013 18:34:57 +0000
Subject: com php-src: Fix Test Bug #64714: ext/standard/tests/file/bug24482.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72028@lists.php.net to get a copy of this message
Commit: bf5506f511e66a2b827988d611ccda4d75abc44e Author: Matt Ficken <v-mafick@microsoft.com> Thu, 25 Apr 2013 11:34:57 -0700 Parents: 63434524f82f8686e16bb6ebed10ad206987481f Branches: PHP-5.3 PHP-5.4 PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf5506f511e66a2b827988d611ccda4d75abc44e Log: Fix Test Bug #64714 Bugs: https://bugs.php.net/64714 Changed paths: M ext/standard/tests/file/bug24482.phpt Diff: diff --git a/ext/standard/tests/file/bug24482.phpt b/ext/standard/tests/file/bug24482.phpt index f545f1a..9d0568a 100644 --- a/ext/standard/tests/file/bug24482.phpt +++ b/ext/standard/tests/file/bug24482.phpt @@ -8,6 +8,11 @@ if (!function_exists("glob")) { ?> --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();

« previous php.cvs (#72028) next »