diff options
author | Greg Beaver <cellog@php.net> | 2008-01-05 21:39:39 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-01-05 21:39:39 +0000 |
commit | b61e2d4703edb7022445975da214f133d52e2759 (patch) | |
tree | a67a0c934b21825d79918e390a794a2cbcfb2fe8 /run-tests.php | |
parent | 0e5371eea753acbf9ca0220af2e9dc32e51b5bfa (diff) | |
download | php-git-b61e2d4703edb7022445975da214f133d52e2759.tar.gz |
remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE--
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index fc7992eec1..218e33276b 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1667,7 +1667,7 @@ COMMAND $cmd $wanted = $wanted_headers . "\n--HEADERS--\n" . $wanted; $output = $output_headers . "\n--HEADERS--\n" . $output; if (isset($wanted_re)) { - $wanted_re = $wanted_headers . "\n--HEADERS--\n" . $wanted_re; + $wanted_re = preg_quote($wanted_headers . "\n--HEADERS--\n", '/') . $wanted_re; } } |