diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-java/jnr-posix/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-java/jnr-posix/files')
-rw-r--r-- | dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch b/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch new file mode 100644 index 000000000000..eba2a6fc450a --- /dev/null +++ b/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch @@ -0,0 +1,48 @@ +diff --git a/src/test/java/jnr/posix/FileTest.java b/src/test/java/jnr/posix/FileTest.java +index afadb07..7eb8af7 100644 +--- a/src/test/java/jnr/posix/FileTest.java ++++ b/src/test/java/jnr/posix/FileTest.java +@@ -8,6 +8,7 @@ import jnr.ffi.Pointer; + import jnr.posix.util.Platform; + import org.junit.BeforeClass; + import org.junit.Test; ++import org.junit.Ignore; + + import java.io.*; + import java.nio.ByteBuffer; +@@ -215,7 +216,7 @@ public class FileTest { + dir.delete(); + } + +- @Test ++ @Ignore @Test + public void flockTest() throws Throwable { + if (!Platform.IS_WINDOWS) { + File tmp = File.createTempFile("flockTest", "tmp"); +@@ -236,7 +237,7 @@ public class FileTest { + } + } + +- @Test ++ @Ignore @Test + public void dupTest() throws Throwable { + File tmp = File.createTempFile("dupTest", "tmp"); + RandomAccessFile raf = new RandomAccessFile(tmp, "rw"); +@@ -303,7 +304,7 @@ public class FileTest { + } + } + +- @Test ++ @Ignore @Test + public void fcntlDupfdWithArgTest() throws Throwable { + if (!Platform.IS_WINDOWS) { + File tmp = File.createTempFile("dupTest", "tmp"); +@@ -327,7 +328,7 @@ public class FileTest { + } + } + +- @Test ++ @Ignore @Test + public void closeTest() throws Throwable { + File tmp = File.createTempFile("closeTest", "tmp"); + int fd = getFdFromDescriptor(JavaLibCHelper.getDescriptorFromChannel(new RandomAccessFile(tmp, "rw").getChannel())); |