From: Michihiro NAKAJIMA Date: Wed, 7 Jan 2009 14:58:19 +0000 (-0500) Subject: On Windows, we do not call archive_read_disk_set_standard_lookup() X-Git-Tag: v2.7.0~449 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a011975e4264fc34bc366c88f60b4e2efa4497bf;p=thirdparty%2Flibarchive.git On Windows, we do not call archive_read_disk_set_standard_lookup() function on libarchive_test, currently that one isn't linked. SVN-Revision: 401 --- diff --git a/libarchive/test/test_read_disk.c b/libarchive/test/test_read_disk.c index efd232d06..95ba4532a 100644 --- a/libarchive/test/test_read_disk.c +++ b/libarchive/test/test_read_disk.c @@ -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");