From 15f3276ebd097daaca944f7cd424e1fe927aafd0 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 12 2011 21:07:47 +0000 Subject: Add snmp test --- diff --git a/tests/p_net-snmp/snmp_test.sh b/tests/p_net-snmp/snmp_test.sh new file mode 100755 index 0000000..eb42841 --- /dev/null +++ b/tests/p_net-snmp/snmp_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 $?