File tree 1 file changed +4
-0
lines changed
src/test/java/jnr/unixsocket
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ public class ChannelOptionsTest {
46
46
47
47
@ Test
48
48
public void readonlyDatagramChannelOptionTest () throws Exception {
49
+ Assume .assumeTrue (OS .LINUX == Platform .getNativePlatform ().getOS ());
50
+
49
51
UnixDatagramChannel [] sp = UnixDatagramChannel .pair ();
50
52
UnixDatagramChannel ch = sp [0 ];
51
53
Credentials c = ch .socket ().getCredentials ();
@@ -60,6 +62,8 @@ public void readonlyDatagramChannelOptionTest() throws Exception {
60
62
61
63
@ Test
62
64
public void readonlySocketChannelOptionTest () throws Exception {
65
+ Assume .assumeTrue (OS .LINUX == Platform .getNativePlatform ().getOS ());
66
+
63
67
UnixSocketChannel [] sp = UnixSocketChannel .pair ();
64
68
UnixSocketChannel ch = sp [0 ];
65
69
Credentials c = ch .socket ().getCredentials ();
You can’t perform that action at this time.
0 commit comments