summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_utils.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-08-21 15:18:58 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2008-08-21 15:18:58 (GMT)
commitf31cd40f7a014c076615c4a1c28b989162a6ca9d (patch)
tree4b5c4f0aa4080fd99271a60a904990500b6ad933 /lib/tests/test_utils.c
parent6a8240dd78716967e1eccb32ccfd966f321258b6 (diff)
downloadmonitoring-plugins-f31cd40f7a014c076615c4a1c28b989162a6ca9d.tar.gz
Correctly link to included libtap. Simplify invoking test scripts.
Removed basename test as we should use base_name from GNUlib which is tested separately git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2042 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/test_utils.c')
-rw-r--r--lib/tests/test_utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index 278f526..b2a9e69 100644
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
@@ -30,7 +30,7 @@ main (int argc, char **argv)
30 thresholds *thresholds = NULL; 30 thresholds *thresholds = NULL;
31 int rc; 31 int rc;
32 32
33 plan_tests(82); 33 plan_tests(81);
34 34
35 range = parse_range_string("6"); 35 range = parse_range_string("6");
36 ok( range != NULL, "'6' is valid range"); 36 ok( range != NULL, "'6' is valid range");
@@ -174,8 +174,5 @@ main (int argc, char **argv)
174 ok( strcmp(test, "everything") == 0, "everything okay"); 174 ok( strcmp(test, "everything") == 0, "everything okay");
175 free(test); 175 free(test);
176 176
177 test = basename("/here/is/a/path");
178 ok( strcmp(test, "path") == 0, "basename okay");
179
180 return exit_status(); 177 return exit_status();
181} 178}