summaryrefslogtreecommitdiff
path: root/dev-java/jnr-posix/files/jnr-posix-3.1.15-FileTest.patch
blob: a186087c626d7327bdb663682f348d4ca268eb00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/src/test/java/jnr/posix/FileTest.java
+++ b/src/test/java/jnr/posix/FileTest.java
@@ -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()));