diff options
Diffstat (limited to 'io/test-lfs.c')
-rw-r--r-- | io/test-lfs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/io/test-lfs.c b/io/test-lfs.c index b423a10f08..bfc71f1ac8 100644 --- a/io/test-lfs.c +++ b/io/test-lfs.c @@ -1,5 +1,5 @@ /* Some basic tests for LFS. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. Contributed by Andreas Jaeger <aj@suse.de>, 2000. The GNU C Library is free software; you can redistribute it and/or @@ -100,6 +100,11 @@ do_test (int argc, char *argv[]) error (0, errno, "lseek64 is not supported"); exit (EXIT_SUCCESS); } + if (ret == -1 && errno == EINVAL) + { + error (0, errno, "LFS seems not to be supported "); + exit (EXIT_SUCCESS); + } ret = write (fd, "Hello", 5); if (ret == -1 && errno == EINVAL) |