]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Skip archive_write_disk_fixup test on Windows
authorMartin Matuska <martin@matuska.org>
Sun, 22 Aug 2021 13:53:31 +0000 (15:53 +0200)
committerMartin Matuska <martin@matuska.org>
Sun, 22 Aug 2021 13:53:31 +0000 (15:53 +0200)
libarchive/test/test_write_disk_fixup.c

index 153cc3a9c638947691ee48e9fb04aecb71789c4b..c399c9842e46fa0425f9a6db8826d36f868b0971 100644 (file)
@@ -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
 }