aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests/test_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests/test_utils.c')
-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)
thresholds *thresholds = NULL;
int rc;
- plan_tests(73);
+ plan_tests(74);
range = parse_range_string("6");
ok( range != NULL, "'6' is valid range");
@@ -165,6 +165,9 @@ 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();
}