summary refs log tree commit diff
path: root/rt/tst-aio6.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-aio6.c')
-rw-r--r--rt/tst-aio6.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rt/tst-aio6.c b/rt/tst-aio6.c
index b2da94233b..ac724b01f3 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;
     }