From 0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 19 Feb 2025 19:46:37 +0100 Subject: Add a comment to opttest to explain the purpose --- tools/opttest.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') 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; use warnings; use Test; +# This script (when executed from the monitoring plugins top level directory) +# executes all the plugins with -h, --help, -V and --version to verify that +# all of them exit properly with the state UNKNOWN (3) + use vars qw($dir $file $prog $idx $state $output %progs @dirs); my $tests = 0; -- cgit v1.2.3-74-g34f1