diff options
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 1562d0598..24e7733e9 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -45,14 +45,7 @@ of files and users that aren't valid yet this early in the LFS build. We will therefore have to set up a few things before being able to run the tests. If you choose not to run these tests, skip down to "Install the package".</para> -<para>To be able to run the full test suite, the <command>su</command> program -needs to be installed. We didn't bother to install this little program in -<xref linkend="chapter-temporary-tools"/> because it requires root privileges, -so do it now:</para> - -<screen><userinput>make install-root</userinput></screen> - -<para>Create a 'table of mounted filesystems' file with:</para> +<para>First create a 'table of mounted filesystems' file with:</para> <screen><userinput>touch /etc/mtab</userinput></screen> @@ -70,7 +63,11 @@ are meant to be run as <emphasis>root</emphasis>:</para> <para>Then run the remainder of the tests as the <emphasis>dummy</emphasis> user:</para> -<screen><userinput>su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> +<screen><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> + +<para>The above command uses the newly compiled <command>src/su</command> +program, since in <xref linkend="chapter-temporary-tools"/> we didn't bother to +install it, because installing it requires root privileges.</para> <para>When you're done testing, remove the dummy user and groups:</para> |