diff options
author | Shane Caraveo <shane@php.net> | 2003-03-30 05:00:03 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2003-03-30 05:00:03 +0000 |
commit | 5b6412dcdee521d8715984cf027a252389e9eeeb (patch) | |
tree | 56194eb24ced06d29b2a2dc8cb28510ad0842b0e /run-tests2.php | |
parent | e3c002b0c30fbf0db083534d688b5c389fb84af9 (diff) | |
download | php-git-5b6412dcdee521d8715984cf027a252389e9eeeb.tar.gz |
uncomment removal of temp file
update changes from run-tests
Diffstat (limited to 'run-tests2.php')
-rw-r--r-- | run-tests2.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests2.php b/run-tests2.php index a465290b92..40b3a5e3e8 100644 --- a/run-tests2.php +++ b/run-tests2.php @@ -585,7 +585,7 @@ class testHarness { $out .= fread($fd, 8192); fclose($fd); } - #unlink($tmp_file); + unlink($tmp_file); if ($removeheaders && preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $this->incoming_payload, $match)) { return $match[2]; @@ -1436,7 +1436,7 @@ class testHarness { $wanted_re = str_replace("%i", "[+\-]?[0-9]+", $wanted_re); $wanted_re = str_replace("%d", "[0-9]+", $wanted_re); $wanted_re = str_replace("%x", "[0-9a-fA-F]+", $wanted_re); - $wanted_re = str_replace("%f", "[+\-]?\.?[0-9]+\.?[0-9]*", $wanted_re); + $wanted_re = str_replace("%f", "[+\-]?\.?[0-9]+\.?[0-9]*(E-?[0-9]+)?", $wanted_re); $wanted_re = str_replace("%c", ".", $wanted_re); // %f allows two points "-.0.0" but that is the best *simple* expression } |