diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-17 23:15:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-17 23:15:59 +0200 |
commit | d3e07d2b5734149c1314cb98b48dd1adebd62686 (patch) | |
tree | a924b49927ae1925a7e0893d31e0c9c6abd3228e /tap | |
parent | 495c4c9adfa482303b31cdac7d28adda82d2d2ed (diff) | |
parent | 2ddc75e69db5a3dd379c896d8420c9af20ec1cee (diff) | |
download | monitoring-plugins-d3e07d2b5734149c1314cb98b48dd1adebd62686.tar.gz |
Merge branch 'master' into dev/check_ssh-patches
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) ? \ |