diff options
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(); } |