summaryrefslogtreecommitdiff
path: root/ext/snmp/tests/snmp2_walk.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snmp/tests/snmp2_walk.phpt')
-rw-r--r--ext/snmp/tests/snmp2_walk.phpt11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/snmp/tests/snmp2_walk.phpt b/ext/snmp/tests/snmp2_walk.phpt
index ccccf76dc8..326e0a71cd 100644
--- a/ext/snmp/tests/snmp2_walk.phpt
+++ b/ext/snmp/tests/snmp2_walk.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(snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', ''));
-var_dump(snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, ''));
-
echo "Checking working\n";
echo "Single OID\n";
$return = snmp2_walk($hostname, $community, '.1.3.6.1.2.1.1', $timeout, $retries);
@@ -58,13 +54,6 @@ var_dump($return);
?>
--EXPECTF--
-Checking error handling
-
-Warning: snmp2_walk() expects parameter 4 to be int, %s given in %s on line %d
-bool(false)
-
-Warning: snmp2_walk() expects parameter 5 to be int, %s given in %s on line %d
-bool(false)
Checking working
Single OID
string(5) "array"