# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
-
+ifeq ($(UCLIBC_HAS_LFS),)
+TESTS_DISABLED += dirent64
+endif
CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
DODIFF_dirent := 1
}
if (fcts[i].is_fd)
close (fd);
- struct stat64 st;
- if (stat64 (fname, &st) == -1)
+ struct stat st;
+ if (stat (fname, &st) == -1)
{
printf ("cannot stat %s after %s: %m\n", fname, fcts[i].name);
exit (1);
# uClibc stat tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ifeq ($(UCLIBC_HAS_LFS),)
+TESTS_DISABLED := stat64
+endif
CFLAGS_stat64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
DODIFF_stat := 1
# uClibc unistd tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ifeq ($(UCLIBC_HAS_LFS),)
+TESTS_DISABLED := tst-preadwrite64
+endif
OPTS_getopt := -abcXXX -9
OPTS_getopt_long := --add XXX --delete YYY --verbose
ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)