[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>
Thu, 24 Dec 2020 14:41:17 +0000 (14:41 +0000)
commitc71c1bc68605600a5a805d4afd1fe0ed5c8fbdc0
tree0da9407e3691b27b3d14209f0ec72b3c67688a7f
parentfef44b909ec1157285e46ff0d8fc221f7b1cba8a
[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