diff options
Diffstat (limited to 'tools/regression/aio/aiotest/aiotest.c')
-rw-r--r-- | tools/regression/aio/aiotest/aiotest.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/regression/aio/aiotest/aiotest.c b/tools/regression/aio/aiotest/aiotest.c index 56bc9a0..8769dc1 100644 --- a/tools/regression/aio/aiotest/aiotest.c +++ b/tools/regression/aio/aiotest/aiotest.c @@ -689,5 +689,9 @@ main(int argc, char *argv[]) aio_unix_socketpair_test(); aio_pty_test(); aio_pipe_test(); - aio_md_test(); + if (geteuid() == 0) + aio_md_test(); + else + fprintf(stderr, "WARNING: aio_md_test: skipped as euid " + "!= 0\n"); } |