summaryrefslogtreecommitdiffstats
path: root/tools/opttest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opttest.pl')
-rwxr-xr-xtools/opttest.pl4
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;
3use warnings; 3use warnings;
4use Test; 4use 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
6use vars qw($dir $file $prog $idx $state $output %progs @dirs); 10use vars qw($dir $file $prog $idx $state $output %progs @dirs);
7 11
8my $tests = 0; 12my $tests = 0;