From 24fd814c326e282c4321965c31f341dad77e270d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Jan 2021 11:28:34 +0000 Subject: gentoo resync : 08.01.2021 --- .../raft-0.9.25-Always-skip-init-oom-test.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch (limited to 'dev-libs/raft/files') diff --git a/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch b/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch new file mode 100644 index 000000000000..7a22682c2e03 --- /dev/null +++ b/dev-libs/raft/files/raft-0.9.25-Always-skip-init-oom-test.patch @@ -0,0 +1,31 @@ +commit e0948518f6eedad85c7705fb3963cfdda3627d8f +Author: Reto Gantenbein +Date: Thu Oct 22 00:19:31 2020 +0200 + + Always skip init/oom test + + The RPM package build in COPR is being executed on a tmpfs which + always results in a failure of this test: + + init/oom + heap-fault-delay=1, heap-fault-repeat=1 [ ERROR ] + Error: test/integration/test_uv_init.c:156: assertion failed: _rv == 1 (0 == 1) + + Instead only for certain architectures we always skip this test. + For more informations see https://github.com/ganto/copr-lxc4/issues/8 + +diff --git a/test/integration/test_uv_init.c b/test/integration/test_uv_init.c +index 8c9b5f7..57db7f3 100644 +--- a/test/integration/test_uv_init.c ++++ b/test/integration/test_uv_init.c +@@ -144,10 +144,8 @@ static MunitParameterEnum oomParams[] = { + TEST(init, oom, setUp, tearDown, 0, oomParams) + { + struct fixture *f = data; +-#if defined(__i686__) + /* XXX: tmpfs seems to not support O_DIRECT */ + return MUNIT_SKIP; +-#endif + #if defined(__powerpc64__) + /* XXX: fails on ppc64el */ + return MUNIT_SKIP; -- cgit v1.2.3