com php-src: added missing GLOB_BRACE support check: ext/standard/tests/file/glob_variation.phpt
| From: | Anatol Belski | Date: | Thu, 21 May 2015 07:44:18 +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-86849@lists.php.net to get a copy of this message | ||
Commit: 96629091a63ea891ac637352534e511174064605
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 20 May 2015 20:23:21 +0200
Committer: Anatol Belski <ab@php.net> Thu, 21 May 2015 09:44:18 +0200
Parents: 6895ae4553d1010cfe8effce2a350fbff7231764
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=96629091a63ea891ac637352534e511174064605
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