summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7449b16)
raw | patch | inline | side by side (parent: 7449b16)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 9 Jan 2009 07:31:42 +0000 (02:31 -0500) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 9 Jan 2009 07:44:36 +0000 (02:44 -0500) |
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
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 | patch | blob | history |
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index e9462909fece7c2b763b7eec6eea04d7586019ab..5ad3f8a75a792439b9fb60f16763d07b099bb56f 100644 (file)
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
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();
}