Small fix for test-lfs

Kevin P. Fleming kpfleming@linuxfromscratch.org
Sun Jan 25 03:27:00 GMT 2004


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)




More information about the Libc-alpha mailing list