From b0d788992afb575b9a34b7dfba47766ec6faea48 Mon Sep 17 00:00:00 2001 From: "Paul H. Hargrove" Date: Wed, 13 May 2026 22:19:05 -0700 Subject: [PATCH] testbarrierconf: reduce memory requirement This commit ensures that `testbarrierconf` will not needlessly fail in low-memory environments. In particular, with only 64MB of `/dev/shm` an smp-conduit run with 3 processes (the `make run-tests` default for that test) would previously fail when the fixes for either or both of bug 4821 or 4822 were applied. --- tests/testbarrierconf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testbarrierconf.c b/tests/testbarrierconf.c index d56a107c2..1182e4697 100644 --- a/tests/testbarrierconf.c +++ b/tests/testbarrierconf.c @@ -6,6 +6,9 @@ #include +#ifndef TEST_SEGSZ + #define TEST_SEGSZ PAGESZ +#endif #include #ifndef PERFORM_MIXED_NAMED_ANON_TESTS