From: Martin Matuska Date: Sun, 22 Aug 2021 13:53:31 +0000 (+0200) Subject: Skip archive_write_disk_fixup test on Windows X-Git-Tag: v3.5.2~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=46430d3acad3c066245fd8cb818818ff0b222376;p=thirdparty%2Flibarchive.git Skip archive_write_disk_fixup test on Windows --- diff --git a/libarchive/test/test_write_disk_fixup.c b/libarchive/test/test_write_disk_fixup.c index 153cc3a9c..c399c9842 100644 --- a/libarchive/test/test_write_disk_fixup.c +++ b/libarchive/test/test_write_disk_fixup.c @@ -29,6 +29,9 @@ */ DEFINE_TEST(test_write_disk_fixup) { +#if defined(_WIN32) && !defined(__CYGWIN__) + skipping("Skipping test on Windows"); +#else struct archive *ad; struct archive_entry *ae; int r; @@ -74,4 +77,5 @@ DEFINE_TEST(test_write_disk_fixup) /* Test the entries on disk. */ assertIsSymlink("dir", "victim", 0); assertFileMode("victim", 0600); +#endif }