From 9e85ca23f4e4297faa57808098b5d0211f58d4ef Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 4 Apr 2007 03:03:04 +0000 Subject: Use an extra dummy group in coreutils chapter 6 so the coreutils chgrp tests will be run. Thanks to Bryan Kadzban for the catch. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8013 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'chapter06') diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 84da49220..bd5286c24 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -80,11 +80,22 @@ make NON_ROOT_USERNAME=nobody check-root - Then run the remainder of the tests as the - nobody user: + We're going to run the remainder of the tests as the + nobody user. Certain tests, + however, require that the user be a member of more than one group. So that + these tests are not skipped we'll add a temporary group and make the + user nobody a part of it: + +echo "dummy:x:1000:nobody" >> /etc/group + + Now run the tests: su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check" + Remove the temporary group: + +sed -i '/dummy/d' /etc/group + Install the package: make install -- cgit v1.2.3-54-g00ecf