[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2121] nagiosplug/trunk/lib/tests/test_utils.c
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Fri Jan 9 08:50:19 CET 2009
Revision: 2121
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2121&view=rev
Author: dermoth
Date: 2009-01-09 07:50:19 +0000 (Fri, 09 Jan 2009)
Log Message:
-----------
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
From: Thomas Guyot-Sionnest <dermoth at aei.ca>
Modified Paths:
--------------
nagiosplug/trunk/lib/tests/test_utils.c
Modified: nagiosplug/trunk/lib/tests/test_utils.c
===================================================================
--- nagiosplug/trunk/lib/tests/test_utils.c 2009-01-09 07:31:28 UTC (rev 2120)
+++ nagiosplug/trunk/lib/tests/test_utils.c 2009-01-09 07:50:19 UTC (rev 2121)
@@ -171,10 +171,6 @@
test = np_escaped_string("everything");
ok( strcmp(test, "everything") == 0, "everything okay");
- free(test);
- test = (char *)basename("/here/is/a/path");
- ok( strcmp(test, "path") == 0, "basename okay");
-
return exit_status();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list