aboutsummaryrefslogtreecommitdiff
path: root/io/tst-openat.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/tst-openat.c')
-rw-r--r--io/tst-openat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/io/tst-openat.c b/io/tst-openat.c
index c20c95a10d..d10b654fa9 100644
--- a/io/tst-openat.c
+++ b/io/tst-openat.c
@@ -84,6 +84,12 @@ do_test (void)
int fd = openat (dir_fd, "some-file", O_CREAT|O_RDWR|O_EXCL, 0666);
if (fd == -1)
{
+ if (errno == ENOSYS)
+ {
+ puts ("*at functions not supported");
+ return 0;
+ }
+
puts ("file creation failed");
return 1;
}