[PATCH libaio 18/28] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE
authorGuillem Jover <guillem@hadrons.org>
Sat, 20 Jul 2019 19:20:59 +0000 (21:20 +0200)
committerGuillem Jover <guillem@debian.org>
Tue, 2 Nov 2021 23:56:45 +0000 (23:56 +0000)
commitbf3ff3db62b41a103b75e15cd063b25591bda682
treebb17945dd09477771a9a7dea9e43401f810fe380
parent2f49e08d927a238629632b81403edbf1e91c6ea6
[PATCH libaio 18/28] harness: Use run-time _SC_PAGE_SIZE instead of build-time PAGESIZE

The getconf(1) command is inherently not cross-compilation friendly.
In addition PAGESIZE depends on the specific system, even within a
specific arch, so using a hard-coded value is never safe.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0018-harness-Use-run-time-_SC_PAGE_SIZE-instead-of-build-.patch
harness/Makefile
harness/cases/18.t