Skip to content

Commit 1c985a8

Browse files
committed
Revert "tests: net: socketpair: skip nonblocking tests on posix arch"
This reverts commit 2eb53f4. Signed-off-by: Christopher Friedt <[email protected]>
1 parent 71f12d7 commit 1c985a8

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

tests/net/socket/socketpair/src/fcntl.c

-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ ZTEST_USER(net_socketpair, fcntl)
1212
int sv[2] = {-1, -1};
1313
int flags;
1414

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-
2015
res = socketpair(AF_UNIX, SOCK_STREAM, 0, sv);
2116
zassert_equal(res, 0,
2217
"socketpair(AF_UNIX, SOCK_STREAM, 0, sv) failed");

tests/net/socket/socketpair/src/nonblock.c

-10
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ ZTEST_USER(net_socketpair, write_nonblock)
1111
int res;
1212
int sv[2] = {-1, -1};
1313

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-
1914
res = socketpair(AF_UNIX, SOCK_STREAM, 0, sv);
2015
zassert_equal(res, 0, "socketpair() failed: %d", errno);
2116

@@ -51,11 +46,6 @@ ZTEST_USER(net_socketpair, read_nonblock)
5146
int sv[2] = {-1, -1};
5247
char c;
5348

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-
5949
res = socketpair(AF_UNIX, SOCK_STREAM, 0, sv);
6050
zassert_equal(res, 0, "socketpair() failed: %d", errno);
6151

0 commit comments

Comments
 (0)