#1877: bash - test suite should not be run as root
--------------------+-------------------------------------------------------
 Reporter:  peter   |        Owner:  [EMAIL PROTECTED]
     Type:  defect  |       Status:  closed                        
 Priority:  normal  |    Milestone:  6.3                           
Component:  Book    |      Version:  SVN                           
 Severity:  normal  |   Resolution:  fixed                         
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Nice catch. I did check the results of the tests, but failed to notice the
 reason why certain ones were skipped. I just saw that nothing failed. When
 using the nobody user who is a member of just the one group, we get
 messages like:
 {{{
 Making check in chgrp
 make[2]: Entering directory `/root/coreutils-6.7/tests/chgrp'
 make  check-TESTS
 make[3]: Entering directory `/root/coreutils-6.7/tests/chgrp'
 ./no-x: this test requires that you be a member of more than one group,
 but running `id -G' either failed or found just one.  If you really
 are a member of at least two groups, then rerun this test with
 COREUTILS_GROUPS set in your environment to the space-separated list
 of group names or numbers.  E.g.,

   env COREUTILS_GROUPS='users cdrom' make check
 }}}

 So it skips that test. I'll add the addition of the extra dummy group back
 in and make nobody a part of it.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1877#comment:8>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to