projects
/
libuv1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e35ed
)
Workaround for test failure on old sparc kernels
author
Luca BRUNO
<lucab@debian.org>
Sun, 23 Oct 2016 13:36:45 +0000
(14:36 +0100)
committer
Mattia Rizzolo
<mattia@debian.org>
Sun, 23 Oct 2016 13:36:45 +0000
(14:36 +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 fc011ee495f1f6b1664e63de3f10d51f55fdf65e..7d14400901d30eb3a8f3b44d352581f7fc564b7a 100644
(file)
--- a/
test/test-tcp-oob.c
+++ b/
test/test-tcp-oob.c
@@
-101,6
+101,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();