From 8c087f89a3ee78c77493fb86002245b36147410f Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 13 2011 11:08:28 +0000 Subject: Changed AUTHORS and added snmpv2c test --- diff --git a/tests/p_net-snmp/snmpv1_test.sh b/tests/p_net-snmp/snmpv1_test.sh new file mode 100755 index 0000000..eb42841 --- /dev/null +++ b/tests/p_net-snmp/snmpv1_test.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Author: Athmane Madjoudj + +t_Log "Running $0 - snmp test" + +t_InstallPackage net-snmp-utils + +snmpwalk -v 1 -c public 127.0.0.1 > /dev/null 2>&1 + +t_CheckExitStatus $? diff --git a/tests/p_net-snmp/snmpv2c_test.sh b/tests/p_net-snmp/snmpv2c_test.sh new file mode 100755 index 0000000..136a6b4 --- /dev/null +++ b/tests/p_net-snmp/snmpv2c_test.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Author: Athmane Madjoudj +# Author: Christoph Galuschka + +t_Log "Running $0 - snmp test" + +t_InstallPackage net-snmp-utils + +snmpwalk -v 2c -c public 127.0.0.1 > /dev/null 2>&1 + +t_CheckExitStatus $?