]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Get a error description at test_read_disk_from_file.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 5 Feb 2010 06:03:26 +0000 (01:03 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 5 Feb 2010 06:03:26 +0000 (01:03 -0500)
SVN-Revision: 1874

libarchive/test/test_read_disk_entry_from_file.c

index 6e34abe441dfe0dec1eb1cd7a230d31d78f0eb83..ecca778e2537376ae9306345e98456a9ac4b0d0e 100644 (file)
@@ -66,7 +66,7 @@ DEFINE_TEST(test_read_disk_entry_from_file)
        entry = archive_entry_new();
        assert(entry != NULL);
        archive_entry_copy_pathname(entry, "foo");
-       assertEqualInt(ARCHIVE_OK,
+       assertEqualIntA(a, ARCHIVE_OK,
            archive_read_disk_entry_from_file(a, entry, -1, NULL));
 
        /* Verify the information we got back. */