add --warn-count and --crit-count test, and fix related bug

I should consider writing tests before features.  Sadly recently added new
options did not even work.  Oh well, at least I did not release them before
noticing this.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2015-12-05 19:23:28 +00:00
parent 15802d6648
commit da4b7a783a
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
4 changed files with 57 additions and 2 deletions

View file

@ -1,4 +1,5 @@
TESTS = \
tests/alarm-count-option \
tests/alarm-critical \
tests/alarm-critical-ranges \
tests/alarm-critical-snets \