Parcourir la source

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
Thomas Guyot-Sionnest il y a 17 ans
Parent
commit
4d5eb82a47
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      lib/tests/test_utils.c

+ 0 - 4
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();
 }