summaryrefslogtreecommitdiff
path: root/test/misc
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc')
-rw-r--r--test/misc/Makefile.in1
-rw-r--r--test/misc/tst-statfs.c2
-rw-r--r--test/misc/tst-statvfs.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/test/misc/Makefile.in b/test/misc/Makefile.in
index 9b74d222a..52a3e7164 100644
--- a/test/misc/Makefile.in
+++ b/test/misc/Makefile.in
@@ -4,6 +4,7 @@
TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
ifeq ($(UCLIBC_HAS_LFS),)
TESTS_DISABLED += dirent64
+TESTS_DISABLED += tst-statfs # assuming host has LFS on
endif
CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
diff --git a/test/misc/tst-statfs.c b/test/misc/tst-statfs.c
index 44ab3aa77..b8b4229ba 100644
--- a/test/misc/tst-statfs.c
+++ b/test/misc/tst-statfs.c
@@ -1,5 +1,3 @@
-#define _FILE_OFFSET_BITS 64
-
#include <sys/vfs.h>
#include <errno.h>
#include <stdio.h>
diff --git a/test/misc/tst-statvfs.c b/test/misc/tst-statvfs.c
index c1e8fde4e..4b67719e9 100644
--- a/test/misc/tst-statvfs.c
+++ b/test/misc/tst-statvfs.c
@@ -1,5 +1,3 @@
-#define _FILE_OFFSET_BITS 64
-
#include <sys/statvfs.h>
#include <errno.h>
#include <stdio.h>