[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)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 15 Nov 2021 00:13:31 +0000 (00:13 +0000)
commit017ad2cd78de484cfbe94095502d5cf39b4a3b80
tree7ddd2964f13beabc8657aeb0a4c4c54b89d7ba42
parente653e737d1595b3ca22c16c4ebbd3ae882cb1491
[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