projects
/
libuv1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
004c73d
)
Workaround for test failure on old sparc kernels
author
Luca BRUNO
<lucab@debian.org>
Sun, 4 Jul 2021 07:43:38 +0000
(08:43 +0100)
committer
Dominique Dumont
<dod@debian.org>
Sun, 4 Jul 2021 07:43:38 +0000
(08:43 +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 53f8231e83e497f6585479675e4971dd1cd11362..ad233b508f4e5c9d0943f465cacefd5eff826f0a 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();