projects
/
libuv1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c8c49
)
Workaround for test failure on old sparc kernels
author
Luca BRUNO
<lucab@debian.org>
Sat, 30 Dec 2023 17:32:28 +0000
(18:32 +0100)
committer
Dominique Dumont
<dod@debian.org>
Sat, 30 Dec 2023 17:32:28 +0000
(18:32 +0100)
Forwarded: not-needed
Gbp-Pq: Name sparc-skip-tcp_oob.diff
test/test-tcp-oob.c
patch
|
blob
|
history
diff --git
a/test/test-tcp-oob.c
b/test/test-tcp-oob.c
index 989454ed8787f955c209cde3b315733b863c26d9..2881407cf3c8fa61fd38b14cb928b37f94cdf343 100644
(file)
--- a/
test/test-tcp-oob.c
+++ b/
test/test-tcp-oob.c
@@
-114,6
+114,12
@@
TEST_IMPL(tcp_oob) {
struct sockaddr_in addr;
uv_loop_t* loop;
+#if defined(__sparc__) && defined(__linux__)
+ fprintf(stderr, "Skipping test on Linux-sparc due to instability.\n");
+ fflush(stderr);
+ return TEST_SKIP;
+#endif
+
ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr));
loop = uv_default_loop();