]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
On Windows, we do not call archive_read_disk_set_standard_lookup()
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 7 Jan 2009 14:58:19 +0000 (09:58 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 7 Jan 2009 14:58:19 +0000 (09:58 -0500)
function on libarchive_test, currently that one isn't linked.

SVN-Revision: 401

libarchive/test/test_read_disk.c

index efd232d068a5fd1ef982e3d8a0ec8bad70fcf068..95ba4532aef42072562db3926db8374357b2e859 100644 (file)
@@ -94,9 +94,11 @@ DEFINE_TEST(test_read_disk)
            archive_read_disk_set_uname_lookup(a, NULL, NULL, NULL));
        assertEqualInt(umagic, 0x2345);
 
+#ifndef _WIN32
        /* Try the standard lookup functions. */
        assertEqualInt(ARCHIVE_OK,
            archive_read_disk_set_standard_lookup(a));
+#endif
        assertEqualString(archive_read_disk_uname(a, 0), "root");
        assertEqualString(archive_read_disk_gname(a, 0), "wheel");