Remove some debug output.

Don't call terminate on null (it will be called automatically anyway)
This commit is contained in:
Tony Murray
2016-09-23 15:24:24 -05:00
parent a9d3bbfaf4
commit cab2597807
3 changed files with 3 additions and 4 deletions

View File

@ -237,7 +237,6 @@ function check_unit($passthru = false, $command_only = false, $snmpsim = false)
echo "success\n";
}
}
$proc_snmpsimd->terminate();
return $phpunit_ret;
}

View File

@ -45,8 +45,8 @@ if (getenv('SNMPSIM')) {
require $install_dir . '/tests/mocks/mock.snmp.inc.php';
}
ini_set('display_errors', 1);
error_reporting(E_ALL & ~E_WARNING);
//ini_set('display_errors', 1);
//error_reporting(E_ALL & ~E_WARNING);
//error_reporting(E_ALL);
//$debug=true;
//$vdebug=true;

View File

@ -65,7 +65,7 @@ function snmprec_get($community)
{
global $snmpMockCache;
cache_snmprec($community);
var_dump($snmpMockCache);
d_echo($snmpMockCache);
if (isset($snmpMockCache[$community])) {
return $snmpMockCache[$community];