We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e66e5d commit cc1ac88Copy full SHA for cc1ac88
testcases/kernel/syscalls/io_setup/io_setup01.c
@@ -53,6 +53,8 @@ static void verify_success(unsigned int nr, io_context_t *ctx, int init_val)
53
memset(ctx, init_val, sizeof(*ctx));
54
55
TEST(io_setup(nr, ctx));
56
+ if (TST_RET == -ENOSYS)
57
+ tst_brk(TCONF | TRERRNO, "io_setup(): AIO not supported by kernel");
58
if (TST_RET != 0) {
59
tst_res(TFAIL, "io_setup() failed unexpectedly with %li (%s)",
60
TST_RET, tst_strerrno(-TST_RET));
0 commit comments