File tree 2 files changed +0
-15
lines changed
tests/net/socket/socketpair/src
2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ ZTEST_USER(net_socketpair, fcntl)
12
12
int sv [2 ] = {-1 , -1 };
13
13
int flags ;
14
14
15
- if (IS_ENABLED (CONFIG_ARCH_POSIX )) {
16
- printk ("non-blocking socketpair I/O is unsupported with CONFIG_ARCH_POSIX\n" );
17
- ztest_test_skip ();
18
- }
19
-
20
15
res = socketpair (AF_UNIX , SOCK_STREAM , 0 , sv );
21
16
zassert_equal (res , 0 ,
22
17
"socketpair(AF_UNIX, SOCK_STREAM, 0, sv) failed" );
Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ ZTEST_USER(net_socketpair, write_nonblock)
11
11
int res ;
12
12
int sv [2 ] = {-1 , -1 };
13
13
14
- if (IS_ENABLED (CONFIG_ARCH_POSIX )) {
15
- printk ("non-blocking socketpair I/O is unsupported with CONFIG_ARCH_POSIX\n" );
16
- ztest_test_skip ();
17
- }
18
-
19
14
res = socketpair (AF_UNIX , SOCK_STREAM , 0 , sv );
20
15
zassert_equal (res , 0 , "socketpair() failed: %d" , errno );
21
16
@@ -51,11 +46,6 @@ ZTEST_USER(net_socketpair, read_nonblock)
51
46
int sv [2 ] = {-1 , -1 };
52
47
char c ;
53
48
54
- if (IS_ENABLED (CONFIG_ARCH_POSIX )) {
55
- printk ("non-blocking socketpair I/O is unsupported with CONFIG_ARCH_POSIX\n" );
56
- ztest_test_skip ();
57
- }
58
-
59
49
res = socketpair (AF_UNIX , SOCK_STREAM , 0 , sv );
60
50
zassert_equal (res , 0 , "socketpair() failed: %d" , errno );
61
51
You can’t perform that action at this time.
0 commit comments