[Clfs-dev] Section 10.21 Util Linux tests + 10.24 Coreutils
William Harrington
kb0iic at berzerkula.org
Sun Nov 17 12:59:16 PST 2013
On Nov 17, 2013, at 12:12 PM, Martin Ward wrote:
> HiEveryone
>
> |1.
> The commands
> useradd nobody && chown -Rv nobody . && su nobody -s /bin/bash -c
> "PATH=$PATH make -k check" ; userdel nobody|
>
> didn't work for me, probably because i don't have a nobody group
>
> but what i did was to move the commands in sec 10.24 coreutils
>
> echo "dummy1:x:1000:" >> /etc/group
> echo "dummy2:x:1001:dummy" >> /etc/group
> echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd
>
> to 10.21
>
> then
> chown|-Rv dummy
> and run the tests|
> ||su dummy -s /bin/bash -c "PATH=$PATH make -k check"
>
> then perhaps add a word don't remove these users and groups we will
> make use of them in coreutils tests
>
> obviously then delete bit in 10.24 of adding the users/groups
>
> and keep the text after testing remove the users/groups created
> earlier
> ||
> ||sed -i '/dummy/d' /etc/passwd /etc/group
>
> ||
>
That'd work tons better.
> 2. Coreutils Sec 10.24
>
> The variable
>
> SUBDIRS= in the root tests
> make NON_ROOT_USERNAME=dummy SUBDIRS= check-root
> is not needed anymore has been fixed in the Makefile
>
> cheers
>
> Martin
I'll look at it tomorrow when I get more time.
Thanks for the input
Sincerely,
William Harrington
More information about the Clfs-dev
mailing list