Blame tests/p_net-snmp/snmpv1_test.sh

Christoph Galuschka 8c087f
#!/bin/sh
Christoph Galuschka 8c087f
# Author: Athmane Madjoudj <athmanem@gmail.com>
Christoph Galuschka 8c087f
f49232
if (t_GetPkgRel basesystem | grep -q el9)
f49232
then
f49232
  t_Log "This is a C9 system. Snmpwal failing. Fix later. Skipping."
f49232
  t_CheckExitStatus 0
f49232
  exit $PASS
f49232
fi
f49232
f49232
Christoph Galuschka caaecd
t_Log "Running $0 - snmpv1 test"
Christoph Galuschka 8c087f
Christoph Galuschka 8c087f
snmpwalk -v 1 -c public 127.0.0.1 > /dev/null 2>&1
Christoph Galuschka 8c087f
Christoph Galuschka 8c087f
t_CheckExitStatus $?