]> granicus.if.org Git - php/commitdiff
make sure USE_ZEND_ALLOC is always 1
authorAntony Dovgal <tony2001@php.net>
Mon, 14 Aug 2006 10:29:20 +0000 (10:29 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 14 Aug 2006 10:29:20 +0000 (10:29 +0000)
run-tests.php

index 5722186640b983c69984ef450a239353de403298..060720656b7c75d9511494cd3fd9b985493475a4 100755 (executable)
@@ -1307,7 +1307,7 @@ TEST $file
                        return 'BORKED';
                }
                save_text($tmp_post, $request);
-               $cmd = "$php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post";
+               $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post";
        } elseif (array_key_exists('POST', $section_text) && !empty($section_text['POST'])) {
 
                $post = trim($section_text['POST']);
@@ -1318,7 +1318,7 @@ TEST $file
                $env['CONTENT_TYPE']   = 'application/x-www-form-urlencoded';
                $env['CONTENT_LENGTH'] = $content_length;
 
-               $cmd = "$php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post";
+               $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post";
 
        } else {
 
@@ -1326,7 +1326,7 @@ TEST $file
                $env['CONTENT_TYPE']   = '';
                $env['CONTENT_LENGTH'] = '';
 
-               $cmd = "$php$pass_options$ini_settings -f \"$test_file\" $args 2>&1";
+               $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" $args 2>&1";
        }
 
        if ($leak_check) {