mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 09:10:08 -04:00
The np_expect_match() function now returns one of three possible states instead of just TRUE or FALSE: - NP_MATCH_SUCCESS - NP_MATCH_FAILURE - NP_MATCH_RETRY The NP_MATCH_RETRY state indicates that matching might succeed if np_expect_match() is called with a longer input string. This allows check_tcp to decide whether it makes sense to wait for additional data from the server. |
||
|---|---|---|
| .. | ||
| 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_disk.c | ||
| test_disk.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.