diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-28 03:22:39 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-28 03:22:39 -0500 |
commit | 538b97cea63d68efbd9c9c67d9c41278cfd1ebad (patch) | |
tree | 84e707f97fb82f1920fb7568241e8b5d8f71c0af /lib/tests/test_utils.c | |
parent | d40abb2504b99e1318840ad1a5d9f4a340c465b5 (diff) | |
download | monitoring-plugins-538b97cea63d68efbd9c9c67d9c41278cfd1ebad.tar.gz |
Revert inclusion of libtap into nagiosplugins
(except for the NEWS file)
This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db
Diffstat (limited to 'lib/tests/test_utils.c')
-rw-r--r-- | lib/tests/test_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c index 64efca23..5c6cce41 100644 --- a/lib/tests/test_utils.c +++ b/lib/tests/test_utils.c | |||
@@ -29,7 +29,7 @@ main (int argc, char **argv) | |||
29 | thresholds *thresholds = NULL; | 29 | thresholds *thresholds = NULL; |
30 | int rc; | 30 | int rc; |
31 | 31 | ||
32 | plan_tests(81); | 32 | plan_tests(82); |
33 | 33 | ||
34 | range = parse_range_string("6"); | 34 | range = parse_range_string("6"); |
35 | ok( range != NULL, "'6' is valid range"); | 35 | ok( range != NULL, "'6' is valid range"); |
@@ -173,5 +173,8 @@ main (int argc, char **argv) | |||
173 | ok( strcmp(test, "everything") == 0, "everything okay"); | 173 | ok( strcmp(test, "everything") == 0, "everything okay"); |
174 | free(test); | 174 | free(test); |
175 | 175 | ||
176 | test = basename("/here/is/a/path"); | ||
177 | ok( strcmp(test, "path") == 0, "basename okay"); | ||
178 | |||
176 | return exit_status(); | 179 | return exit_status(); |
177 | } | 180 | } |