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) thresholds *thresholds = NULL; int rc; - plan_tests(81); + plan_tests(82); range = parse_range_string("6"); ok( range != NULL, "'6' is valid range"); @@ -173,5 +173,8 @@ main (int argc, char **argv) ok( strcmp(test, "everything") == 0, "everything okay"); free(test); + test = basename("/here/is/a/path"); + ok( strcmp(test, "path") == 0, "basename okay"); + return exit_status(); } |