mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove some debug output.
Don't call terminate on null (it will be called automatically anyway)
This commit is contained in:
@ -237,7 +237,6 @@ function check_unit($passthru = false, $command_only = false, $snmpsim = false)
|
||||
echo "success\n";
|
||||
}
|
||||
}
|
||||
$proc_snmpsimd->terminate();
|
||||
|
||||
return $phpunit_ret;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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];
|
||||
|
Reference in New Issue
Block a user