From de341d14c98c3407530422681bcb4cb6d7a24529 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 27 Jul 2014 02:08:18 +0000 Subject: Run coreutils tests in a cleaner way git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10656 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/e2fsprogs.xml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'chapter06/e2fsprogs.xml') diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 7212860f1..b1fed57f9 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -44,11 +44,6 @@ Installation of E2fsprogs - First fix a problem with running regression tests in the LFS chroot - environment: - -sed -i -e 's|^LD_LIBRARY_PATH.*|&:/tools/lib|' tests/test_config - The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree: @@ -121,13 +116,12 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ make - To set up the test suite we need to temporarily copy - a library from /tools/lib so the test programs can find it. + To set up and run the test suite we need to first link some + libraries from /tools/lib to a location where the test programs look. To run the tests, issue: -cp -v /tools/lib/libblkid.so.1 /lib -make check -rm -v /lib/libblkid.so.1 +ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib +make LD_LIBRARY_PATH=/tools/lib check One of the E2fsprogs tests will attempt to allocate 256 MB of memory. If you do not have significantly more RAM than this, be sure to enable -- cgit v1.2.3-54-g00ecf