diff options
author | Jan Wagner <waja@cyconet.org> | 2023-04-14 14:37:47 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2023-04-14 18:35:00 (GMT) |
commit | 0f3703e641f0f995a8abb40056cb5430b6c228c4 (patch) | |
tree | abfb970cab5f7bfed94fe0b70ddfc37ed24cc567 /NPTest.pm | |
parent | e44dcb80f1fdab2751cd460325391676e4f1a466 (diff) | |
download | monitoring-plugins-0f3703e641f0f995a8abb40056cb5430b6c228c4.tar.gz |
Fix a lot of typos reported by codespellrefs/pull/1864/head
Diffstat (limited to 'NPTest.pm')
-rw-r--r-- | NPTest.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -151,14 +151,14 @@ of testing against a set of desired exit status values. | |||
151 | =item * | 151 | =item * |
152 | 152 | ||
153 | Firstly, if C<$desiredExitStatus> is a reference to an array of exit | 153 | Firstly, if C<$desiredExitStatus> is a reference to an array of exit |
154 | stati, if the actual exit status of the command is present in the | 154 | statuses, if the actual exit status of the command is present in the |
155 | array, it is used in the call to C<Test::ok(...)> when testing the | 155 | array, it is used in the call to C<Test::ok(...)> when testing the |
156 | exit status. | 156 | exit status. |
157 | 157 | ||
158 | =item * | 158 | =item * |
159 | 159 | ||
160 | Alternatively, if C<$desiredExitStatus> is a reference to a hash of | 160 | Alternatively, if C<$desiredExitStatus> is a reference to a hash of |
161 | exit stati (mapped to the strings "continue" or "skip"), similar | 161 | exit statuses(mapped to the strings "continue" or "skip"), similar |
162 | processing to the above occurs with the side affect of determining if | 162 | processing to the above occurs with the side affect of determining if |
163 | any generated output testing should proceed. Note: only the string | 163 | any generated output testing should proceed. Note: only the string |
164 | "skip" will result in generated output testing being skipped. | 164 | "skip" will result in generated output testing being skipped. |
@@ -207,7 +207,7 @@ under the same terms as the Monitoring Plugins release. | |||
207 | 207 | ||
208 | my( %CACHE ) = (); | 208 | my( %CACHE ) = (); |
209 | 209 | ||
210 | # I'm not really sure wether to house a site-specific cache inside | 210 | # I'm not really sure whether to house a site-specific cache inside |
211 | # or outside of the extracted source / build tree - lets default to outside | 211 | # or outside of the extracted source / build tree - lets default to outside |
212 | my( $CACHEFILENAME ) = ( exists( $ENV{'NPTEST_CACHE'} ) && $ENV{'NPTEST_CACHE'} ) | 212 | my( $CACHEFILENAME ) = ( exists( $ENV{'NPTEST_CACHE'} ) && $ENV{'NPTEST_CACHE'} ) |
213 | ? $ENV{'NPTEST_CACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd"; | 213 | ? $ENV{'NPTEST_CACHE'} : "/var/tmp/NPTest.cache"; # "../Cache.pdd"; |