mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-19 02:27:55 -05:00
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
6 lines
183 B
Perl
Executable file
6 lines
183 B
Perl
Executable file
#!/usr/bin/perl
|
|
use Test::More;
|
|
if (! -e "./test_check_snmp") {
|
|
plan skip_all => "./test_check_snmp not compiled - please enable libtap library to test";
|
|
}
|
|
exec "./test_check_snmp";
|