summaryrefslogtreecommitdiff
path: root/ext/snmp/tests/snmpwalk.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snmp/tests/snmpwalk.phpt')
-rw-r--r--ext/snmp/tests/snmpwalk.phpt11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/snmp/tests/snmpwalk.phpt b/ext/snmp/tests/snmpwalk.phpt
index 1cdfc6d1e5..b7ed803fd3 100644
--- a/ext/snmp/tests/snmpwalk.phpt
+++ b/ext/snmp/tests/snmpwalk.phpt
@@ -14,10 +14,6 @@ require_once(__DIR__.'/snmp_include.inc');
snmp_set_quick_print(false);
snmp_set_valueretrieval(SNMP_VALUE_PLAIN);
-echo "Checking error handling\n";
-var_dump(snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', ''));
-var_dump(snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
-
echo "Checking working\n";
echo "Single OID\n";
$return = snmpwalk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
@@ -58,13 +54,6 @@ var_dump($return);
?>
--EXPECTF--
-Checking error handling
-
-Warning: snmpwalk() expects parameter 4 to be int, %s given in %s on line %d
-bool(false)
-
-Warning: snmpwalk() expects parameter 5 to be int, %s given in %s on line %d
-bool(false)
Checking working
Single OID
string(5) "array"