diff options
Diffstat (limited to 'rt/tst-aio6.c')
-rw-r--r-- | rt/tst-aio6.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rt/tst-aio6.c b/rt/tst-aio6.c index b2da942..ac724b0 100644 --- a/rt/tst-aio6.c +++ b/rt/tst-aio6.c @@ -60,6 +60,11 @@ do_test (void) /* Try to read from stdin where nothing will be available. */ if (aio_read (arr[0]) < 0) { + if (errno == ENOSYS) + { + puts ("no aio support in this configuration"); + return 0; + } printf ("aio_read failed: %m\n"); return 1; } |