]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove old, redundant test code.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 7 Apr 2011 11:49:02 +0000 (07:49 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 7 Apr 2011 11:49:02 +0000 (07:49 -0400)
SVN-Revision: 3174

libarchive/test/test_read_format_lha_filename.c

index 63a21269c7d8e23f3f742172afce8af7f1b1aa61..dcae4dc9d2ddab9f472c9f05e4cbc96e5a1cb65d 100644 (file)
@@ -167,10 +167,6 @@ test_read_format_lha_filename_CP932_Windows(const char *refname)
         * of filenames from the header of an lha archive file and so we
         * want to test that it works well. 
         */
-       assert((a = archive_read_new()) != NULL);
-       assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a));
-       assertEqualInt(ARCHIVE_OK, archive_read_free(a));
-
        assert((a = archive_read_new()) != NULL);
        assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a));
        assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a));