diff options
-rw-r--r-- | rt/tst-aio7.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c index b4903c7892..b2ba81312a 100644 --- a/rt/tst-aio7.c +++ b/rt/tst-aio7.c @@ -180,6 +180,14 @@ do_test (void) puts ("aio_suspend([done,blocked],2,3) suspended thread"); ++result; } + + /* Cancel i/o on cb1. */ + r = aio_cancel (piped[0], &cb1); + if (r != AIO_CANCELED) + { + puts ("aio_cancel did not return AIO_CANCELED"); + ++result; + } } return result; |