summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-02-19 19:46:37 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-02-19 19:46:37 +0100
commit0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2 (patch)
treeb737e10f8a493d81554256291c53c84527fb6925
parentfaacf5525bef7140f67293125537a9f31ffd25a5 (diff)
downloadmonitoring-plugins-0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2.tar.gz
Add a comment to opttest to explain the purpose
-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;