monitoring-plugins/lib/tests
Lorenz Kästle 87195f5511 check_snmp: refactoring + fixes
This commit moves the state retention logic to check_snmp as it is only
used there and I do not want it to be used at all, so it doesn't get a
place in the lib.

Otherwise this adapts tests and fixes the rate computing in the
refactored version of check_snmp.
Also fixes some bugs detected with the tests
2025-09-08 15:57:06 +02:00
..
var
config-dos.ini
config-opts.ini
config-tiny.ini
Makefile.am
plugin.ini
plugins.ini
README
test_base64.c
test_base64.t
test_cmd.c
test_cmd.t
test_generic_output
test_generic_output.c
test_generic_output.t
test_ini1.c
test_ini1.t
test_ini3.c
test_ini3.t
test_opts1.c
test_opts1.t
test_opts2.c
test_opts2.t
test_opts3.c
test_opts3.t
test_tcp.c
test_tcp.t
test_utils.c
test_utils.t

The tests in here use the libtap library functions 
(http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap), so are
more for unit testing the utils.c library functions. 

However, it probably should be merged into the plugins/t subdirectory.