summaryrefslogtreecommitdiffstats
path: root/plugins/tests
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests')
-rw-r--r--plugins/tests/test_utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/tests/test_utils.c b/plugins/tests/test_utils.c
index 5aa0028a..67c304a3 100644
--- a/plugins/tests/test_utils.c
+++ b/plugins/tests/test_utils.c
@@ -34,7 +34,7 @@ main (int argc, char **argv)
34 thresholds *thresholds = NULL; 34 thresholds *thresholds = NULL;
35 int rc; 35 int rc;
36 36
37 plan_tests(73); 37 plan_tests(74);
38 38
39 range = parse_range_string("6"); 39 range = parse_range_string("6");
40 ok( range != NULL, "'6' is valid range"); 40 ok( range != NULL, "'6' is valid range");
@@ -165,6 +165,9 @@ main (int argc, char **argv)
165 ok( strcmp(test, "everything") == 0, "everything okay"); 165 ok( strcmp(test, "everything") == 0, "everything okay");
166 free(test); 166 free(test);
167 167
168 test = basename("/here/is/a/path");
169 ok( strcmp(test, "path") == 0, "basename okay");
170
168 return exit_status(); 171 return exit_status();
169} 172}
170 173