Remove useless change to test/run

Experimental attempt to make sure test output does not contain non ASCII characters is actually completely useless because it sanitizes an integer. Remove it.
Esse commit está contido em:
Herman Venter
2013-06-28 17:05:32 -07:00
commit de Sara Golemon
commit a8749c1618
2 arquivos alterados com 2 adições e 3 exclusões
-1
Ver Arquivo
@@ -13,7 +13,6 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
//force unit test run
#include "hphp/runtime/debugger/break_point.h"
#include "hphp/runtime/debugger/debugger.h"
+2 -2
Ver Arquivo
@@ -572,7 +572,7 @@ function run_test($options, $test) {
# a poor man's aide for debugging
shell_exec("diff --text -u $test.expectf $test.out > $test.diff 2>&1");
return quoted_printable_encode(preg_match("/^$wanted_re\$/s", $output));
return preg_match("/^$wanted_re\$/s", $output);
} else if (file_exists("$test.expectregex")) {
$wanted_re = file_get_contents("$test.expectregex");
@@ -580,7 +580,7 @@ function run_test($options, $test) {
# a poor man's aide for debugging
shell_exec("diff --text -u $test.expectregex $test.out > $test.diff 2>&1");
return quoted_printable_encode(preg_match("/^$wanted_re\$/s", $output));
return preg_match("/^$wanted_re\$/s", $output);
}
}