dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f2273
)
ereg is deprecated
author
Max Semenik
<maxsem@users.mediawiki.org>
Sun, 11 Jul 2010 17:34:06 +0000
(17:34 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Sun, 11 Jul 2010 17:34:06 +0000
(17:34 +0000)
maintenance/fuzz-tester.php
patch
|
blob
|
history
diff --git
a/maintenance/fuzz-tester.php
b/maintenance/fuzz-tester.php
index
6af8a15
..
835afe7
100644
(file)
--- a/
maintenance/fuzz-tester.php
+++ b/
maintenance/fuzz-tester.php
@@
-2621,7
+2621,7
@@
function rerunPreviousTests() {
// if file is not a test, then skip it.
// Note we need to escape any periods or will be treated as "any character".
$matches = array();
- if ( !
ereg( "(.*)" . str_replace( ".", "\.", DATA_FILE ) . "$
", $file, $matches ) ) continue;
+ if ( !
preg_match( "/(.*)" . str_replace( ".", "\.", DATA_FILE ) . "$/
", $file, $matches ) ) continue;
// reload the test.
$full_path = DIRECTORY . "/" . $file;