projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a57ca78
)
tests: fix linux glob test
author
Michael Wallner
<mike@php.net>
Wed, 19 Oct 2016 06:40:34 +0000
(06:40 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 19 Oct 2016 06:40:34 +0000
(06:40 +0000)
avoid glibc bug with GLOB_BRACE|GLOB_DOOFFS;
see https://sourceware.org/bugzilla/show_bug.cgi?id=20707
tests/glob/glob002.phpt
patch
|
blob
|
history
diff --git
a/tests/glob/glob002.phpt
b/tests/glob/glob002.phpt
index 36edb4de4f4af17ce5d798951aa9a7f268301f29..704386fdee621cda979275cda00a8d4e975e467f 100644
(file)
--- a/
tests/glob/glob002.phpt
+++ b/
tests/glob/glob002.phpt
@@
-12,7
+12,7
@@
PHP_OS === "Linux" or die("skip - only for Linux");
<?php
chdir(__DIR__);
$glob = ["gl_offs" => 5];
-var_dump(psi\glob("*002.php
{,t}", psi\GLOB_BRACE|
psi\GLOB_DOOFFS, $glob));
+var_dump(psi\glob("*002.php
*",
psi\GLOB_DOOFFS, $glob));
var_dump($glob);
?>
===DONE===