From 4d5eb82a47261dae0e866d82bca6648a2048e01b Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 9 Jan 2009 02:31:42 -0500 Subject: 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 --- lib/tests/test_utils.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/tests') diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c index e9462909..5ad3f8a7 100644 --- a/lib/tests/test_utils.c +++ b/lib/tests/test_utils.c @@ -171,10 +171,6 @@ main (int argc, char **argv) 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(); } -- cgit v1.2.3