diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 19:46:37 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 19:46:37 +0100 |
| commit | 0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2 (patch) | |
| tree | b737e10f8a493d81554256291c53c84527fb6925 /tools | |
| parent | faacf5525bef7140f67293125537a9f31ffd25a5 (diff) | |
| download | monitoring-plugins-0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2.tar.gz | |
Add a comment to opttest to explain the purpose
Diffstat (limited to 'tools')
| -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; |
