diff options
Diffstat (limited to 'tools/opttest.pl')
-rwxr-xr-x | tools/opttest.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/opttest.pl b/tools/opttest.pl index 56a5c88f..98213082 100755 --- a/tools/opttest.pl +++ b/tools/opttest.pl | |||
@@ -3,6 +3,10 @@ use strict; | |||
3 | use warnings; | 3 | use warnings; |
4 | use Test; | 4 | use Test; |
5 | 5 | ||
6 | # This script (when executed from the monitoring plugins top level directory) | ||
7 | # executes all the plugins with -h, --help, -V and --version to verify that | ||
8 | # all of them exit properly with the state UNKNOWN (3) | ||
9 | |||
6 | use vars qw($dir $file $prog $idx $state $output %progs @dirs); | 10 | use vars qw($dir $file $prog $idx $state $output %progs @dirs); |
7 | 11 | ||
8 | my $tests = 0; | 12 | my $tests = 0; |