1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix tests on ppc64
The `resize_database` test assumes the system's page size is 4k.
However, Debian ppc64el systems have a page size of 64k, breaking this
assumption, leading to this test failing on this architecture. As
there doesn't seem to be a (easy) way to make it more generic, let's
just disable it for this architecture.
Forwarded: not-needed
Author: Arnaud Ferraris <aferraris@debian.org>
Last-Update: 2025-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/envs/env.rs
+++ b/src/envs/env.rs
@@ -816,6 +816,7 @@
}
#[test]
+ #[cfg(not(target_arch = "powerpc64"))]
fn resize_database() {
let dir = tempfile::tempdir().unwrap();
let page_size = page_size::get();
|