Skip to content

Commit 46430d3

Browse files
committed
Skip archive_write_disk_fixup test on Windows
1 parent b41daec commit 46430d3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libarchive/test/test_write_disk_fixup.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
*/
3030
DEFINE_TEST(test_write_disk_fixup)
3131
{
32+
#if defined(_WIN32) && !defined(__CYGWIN__)
33+
skipping("Skipping test on Windows");
34+
#else
3235
struct archive *ad;
3336
struct archive_entry *ae;
3437
int r;
@@ -74,4 +77,5 @@ DEFINE_TEST(test_write_disk_fixup)
7477
/* Test the entries on disk. */
7578
assertIsSymlink("dir", "victim", 0);
7679
assertFileMode("victim", 0600);
80+
#endif
7781
}

0 commit comments

Comments
 (0)