[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)
committerGuillem Jover <guillem@debian.org>
Thu, 24 Dec 2020 14:41:17 +0000 (14:41 +0000)
commitba98d18d27df31bb404ad77eb12a13437227858d
treec15f870239da32a12b6e24336746ecfef4c5820e
parente8e49fd55a148f8887cf987d3df04d3807c40ced
[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