[PATCH libaio 28/28] harness: Skip the test if io_pgetevents() is not implemented
authorGuillem Jover <guillem@hadrons.org>
Wed, 21 Aug 2019 03:29:52 +0000 (05:29 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 15 Nov 2021 00:13:31 +0000 (00:13 +0000)
commit41ff46d1b214c1438bd42d16d8534d05475ce76b
tree29558af8901088c3f636f67a76cb418ef3b5c69a
parent0280bf37521f55b4fa887d3e35a5ef1e955c8409
[PATCH libaio 28/28] harness: Skip the test if io_pgetevents() is not implemented

Either the kernel or the syscall wrapper will return -ENOSYS when this
syscall is not implemented. So we should cope with this in the test
suite and SKIP the test case.

This is currently the case for alpha and ia64, even though they have
already been wired up very recently in the kernel mainline.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0028-harness-Skip-the-test-if-io_pgetevents-is-not-implem.patch
harness/cases/22.t