bind/bind-9.18-tests-rbtdb_test-i686.patch

42 lines
1.1 KiB
Diff
Raw Normal View History

2023-09-22 18:01:32 +00:00
From 37643c9689c2dee85b453879f7145bb393b99dfa Mon Sep 17 00:00:00 2001
From: Petr Mensik <pemensik@redhat.com>
Date: Fri, 22 Sep 2023 19:54:36 +0200
Subject: [PATCH] Skip failing tests on 32 platform
Reported to fail also on 32 bit arm, but skip it only on current builds.
---
tests/dns/rbtdb_test.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/dns/rbtdb_test.c b/tests/dns/rbtdb_test.c
index 59a5786..384a26a 100644
--- a/tests/dns/rbtdb_test.c
+++ b/tests/dns/rbtdb_test.c
@@ -326,6 +326,7 @@ ISC_RUN_TEST_IMPL(overmempurge_bigrdata) {
isc_mem_destroy(&mctx2);
}
+#ifndef i386
ISC_RUN_TEST_IMPL(overmempurge_longname) {
size_t maxcache = 2097152U; /* 2MB - same as DNS_CACHE_MINSIZE */
size_t hiwater = maxcache - (maxcache >> 3); /* borrowed from cache.c */
@@ -370,12 +371,15 @@ ISC_RUN_TEST_IMPL(overmempurge_longname) {
dns_db_detach(&db);
isc_mem_destroy(&mctx2);
}
+#endif
ISC_TEST_LIST_START
ISC_TEST_ENTRY(ownercase)
ISC_TEST_ENTRY(setownercase)
ISC_TEST_ENTRY(overmempurge_bigrdata)
+#ifndef i386
ISC_TEST_ENTRY(overmempurge_longname)
+#endif
ISC_TEST_LIST_END
ISC_TEST_MAIN
--
2.41.0