php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch path-run-tests for Unknown/Other Function Bug #54108

Patch version 2011-02-26 20:46 UTC

Return to Bug #54108 | Download this patch
Patch Revisions:

Developer: lytboris

Index: run-tests.php
===================================================================
--- run-tests.php	(revision 308673)
+++ run-tests.php	(working copy)
@@ -567,7 +567,7 @@
 				case 'm':
 					$leak_check = true;
 					$valgrind_cmd = "valgrind --version";
-					$valgrind_header = system_with_timeout($valgrind_cmd);
+					$valgrind_header = system_with_timeout($valgrind_cmd, $_ENV);
 					$replace_count = 0;
 					if (!$valgrind_header) {
 						error("Valgrind returned no version info, cannot proceed.\nPlease check if Valgrind is installed.");
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC