]> granicus.if.org Git - php/commitdiff
this would break tests by modifying EXPECT sections
authorMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 12:33:24 +0000 (12:33 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 12:33:24 +0000 (12:33 +0000)
#it took a LONG time to realize that tests were ok but failed due to this ini

run-tests.php

index c93ba04402fb7111815c26e0e14891816853c493..10ef869f25ea35dd464f239b59768e7fce866073 100755 (executable)
@@ -46,6 +46,7 @@ $cwd = getcwd();
 set_time_limit(0);
 ob_implicit_flush();
 error_reporting(E_ALL);
+ini_set('magic_quotes_runtime',0); // this would break tests by modifying EXPECT sections
 
 if (ini_get('safe_mode')) {
        echo <<< SAFE_MODE_WARNING
@@ -607,7 +608,7 @@ COMMAND $cmd
                        // %f allows two points "-.0.0" but that is the best *simple* expression
                }
 /* DEBUG YOUR REGEX HERE
-               var_dump($wanted);
+               var_dump($wanted_re);
                print(str_repeat('=', 80) . "\n");
                var_dump($output);
 */