aboutsummaryrefslogtreecommitdiff
path: root/lib/tests/test_utils.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-08-21 15:18:58 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2008-08-21 15:18:58 +0000
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 278f526e..b2a9e69c 100644
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
@@ -30,7 +30,7 @@ main (int argc, char **argv)
thresholds *thresholds = NULL;
int rc;
- plan_tests(82);
+ plan_tests(81);
range = parse_range_string("6");
ok( range != NULL, "'6' is valid range");
@@ -174,8 +174,5 @@ 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();
}