summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test_utils.c')
-rw-r--r--lib/tests/test_utils.c5
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}