com php-src: added missing GLOB_BRACE support check: ext/standard/tests/file/glob_variation.phpt
| From: | Anatol Belski | Date: | Wed, 20 May 2015 18:23:21 +0000 |
| Subject: | com php-src: added missing GLOB_BRACE support check: ext/standard/tests/file/glob_variation.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86844@lists.php.net to get a copy of this message | ||
Commit: 99d7852d185364bf63491c5e869101309783b8c0
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 20 May 2015 20:23:21 +0200
Parents: b654aa460690fb3420010e8d28774d6544c76eff
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=99d7852d185364bf63491c5e869101309783b8c0
Log:
added missing GLOB_BRACE support check
Changed paths:
M ext/standard/tests/file/glob_variation.phpt
Diff:
diff --git a/ext/standard/tests/file/glob_variation.phpt
b/ext/standard/tests/file/glob_variation.phpt
index 00fd6ff..9d3b879 100644
--- a/ext/standard/tests/file/glob_variation.phpt
+++ b/ext/standard/tests/file/glob_variation.phpt
@@ -5,6 +5,9 @@ Test glob() function: usage variations
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. Not valid for Windows');
}
+if (!defined('GLOB_BRACE')) {
+ die('skip this test requires GLOB_BRACE support');
+}
?>
--FILE--
<?php