Jan Engelhardt
967975affd
- add disable_oom_test.patch OBS-URL: https://build.opensuse.org/request/show/390795 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=35
27 lines
709 B
Diff
27 lines
709 B
Diff
From: Jiri Slaby <jslaby@suse.cz>
|
|
References: https://github.com/jemalloc/jemalloc/issues/379
|
|
Subject: Fix broken test
|
|
|
|
hugemax can be 0x70000000 on i586 and it can indeed be allocated
|
|
twice.
|
|
|
|
Reported, waiting for feedback.
|
|
|
|
---
|
|
test/integration/mallocx.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/test/integration/mallocx.c
|
|
+++ b/test/integration/mallocx.c
|
|
@@ -82,8 +82,8 @@ TEST_BEGIN(test_oom)
|
|
|
|
p = mallocx(hugemax, 0);
|
|
if (p != NULL) {
|
|
- assert_ptr_null(mallocx(hugemax, 0),
|
|
- "Expected OOM for mallocx(size=%#zx, 0)", hugemax);
|
|
+/* assert_ptr_null(mallocx(hugemax, 0),
|
|
+ "Expected OOM for mallocx(size=%#zx, 0)", hugemax);*/
|
|
dallocx(p, 0);
|
|
}
|
|
}
|