summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-09 07:31:42 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-09 07:44:36 (GMT)
commit4d5eb82a47261dae0e866d82bca6648a2048e01b (patch)
tree695549c054c76067fde6db804c8a4831cf95b894
parent7449b16b1781c645751e2c05b93893e93630fb2a (diff)
downloadmonitoring-plugins-4d5eb82a47261dae0e866d82bca6648a2048e01b.tar.gz
basename check in test_utils.c was accidentaly added again.
In 538b97c I reverted a serie of libtap patch by Ton Voon; it included the removal of the useless basename check. Relevant portion of the changelog from which it was removed (f31cd40): Removed basename test as we should use base_name from GNUlib which is tested separately
-rw-r--r--lib/tests/test_utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index e946290..5ad3f8a 100644
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
@@ -171,10 +171,6 @@ main (int argc, char **argv)
171 171
172 test = np_escaped_string("everything"); 172 test = np_escaped_string("everything");
173 ok( strcmp(test, "everything") == 0, "everything okay"); 173 ok( strcmp(test, "everything") == 0, "everything okay");
174 free(test);
175
176 test = (char *)basename("/here/is/a/path");
177 ok( strcmp(test, "path") == 0, "basename okay");
178 174
179 return exit_status(); 175 return exit_status();
180} 176}