[PATCH libaio 25/28] harness: fix read into PROT_WRITE mmap test
authorJeff Moyer <jmoyer@redhat.com>
Tue, 13 Aug 2019 19:30:05 +0000 (15:30 -0400)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 15 Nov 2021 00:13:31 +0000 (00:13 +0000)
commit1f04c5fc4fb3a6b9619534930c51a26e262dd27d
tree194e24de1885ed1f27560df37c687c9deb3ad4e8
parent94ee91b81545b7e836725c59d0394313f7bbf062
[PATCH libaio 25/28] harness: fix read into PROT_WRITE mmap test

This test has been broken forever.  Fix it up to perform an
aio_read using the result of a regular read as the expected
return code.

Reported-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0025-harness-fix-read-into-PROT_WRITE-mmap-test.patch
harness/cases/5.t