diff options
author | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-04-28 09:00:05 (GMT) |
---|---|---|
committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-04-28 09:00:05 (GMT) |
commit | 34c4d13edd8ece1e928c578974218c10d25600c4 (patch) | |
tree | 96eaf64dc46c8b785d437250d42471180597a699 /tap | |
parent | e4ddeb7bb722b50613108da1cb51a48e84068701 (diff) | |
parent | 7cb82e6486e662fa4d2530523787d3eced266545 (diff) | |
download | monitoring-plugins-34c4d13.tar.gz |
Merge branch 'master' into RincewindsHat-patch-1
Diffstat (limited to 'tap')
-rw-r--r-- | tap/tap.3 | 4 | ||||
-rw-r--r-- | tap/tap.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -291,7 +291,7 @@ always returns 0. | |||
291 | .Xc | 291 | .Xc |
292 | .El | 292 | .El |
293 | .Pp | 293 | .Pp |
294 | For maximum compatability your test program should return a particular | 294 | For maximum compatibility your test program should return a particular |
295 | exit code. This is calculated by | 295 | exit code. This is calculated by |
296 | .Fn exit_status | 296 | .Fn exit_status |
297 | so it is sufficient to always return from | 297 | so it is sufficient to always return from |
@@ -309,7 +309,7 @@ directory in the source distribution contains numerous tests of | |||
309 | functionality, written using | 309 | functionality, written using |
310 | .Nm . | 310 | .Nm . |
311 | Examine them for examples of how to construct test suites. | 311 | Examine them for examples of how to construct test suites. |
312 | .Sh COMPATABILITY | 312 | .Sh COMPATIBILITY |
313 | .Nm | 313 | .Nm |
314 | strives to be compatible with the Perl Test::More and Test::Harness | 314 | strives to be compatible with the Perl Test::More and Test::Harness |
315 | modules. The test suite verifies that | 315 | modules. The test suite verifies that |
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting | 27 | /* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting |
28 | and requires the caller to add the final comma if they've ommitted | 28 | and requires the caller to add the final comma if they've omitted |
29 | the optional arguments */ | 29 | the optional arguments */ |
30 | #ifdef __GNUC__ | 30 | #ifdef __GNUC__ |
31 | # define ok(e, test, ...) ((e) ? \ | 31 | # define ok(e, test, ...) ((e) ? \ |