This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Small fix for test-lfs
- From: "Kevin P. Fleming" <kpfleming at linuxfromscratch dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Sat, 24 Jan 2004 20:27:16 -0700
- Subject: Small fix for test-lfs
- Organization: www.linuxfromscratch.org
On my systems I get repeated failures of test-lfs during "make check",
which seem to be caused by my use of Linux' tmpfs filesystem for my /tmp
directory. Changing test-lfs to use the build directory for its tests
causes it to pass with no problems.
2004-01-24 Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>
* io/Makefile: Add --test-dir argument to test-lfs test
in case the default temporary directory is not LFS
capable.
diff -Nur glibc-2/io/Makefile glibc-test-lfs-fix/io/Makefile
--- glibc-2/io/Makefile Sat Jan 24 16:39:12 2004
+++ glibc-test-lfs-fix/io/Makefile Sat Jan 24 17:39:23 2004
@@ -92,6 +92,8 @@
test-stat2-ARGS = Makefile . $(objpfx)test-stat2
+test-lfs-ARGS = --test-dir=${common-objpfx}io
+
tst-statvfs-ARGS = $(objpfx)tst-statvfs tst-statvfs.c /tmp
ifeq ($(cross-compiling),no)