diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-05-30 00:03:55 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-05-30 00:03:55 +0000 |
commit | b51bb68cdae23eea9eea89ea23fe30de35710133 (patch) | |
tree | 0ce59fcd8e8bc16f501e8a4941fa0020af32bfd4 /chapter06/sed.xml | |
parent | 1f5a5864d2e3a4a04bbc1a76f2ac4665ff485650 (diff) |
Run sed and findutils tests as an unprivileged user.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11869 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sed.xml')
-rw-r--r-- | chapter06/sed.xml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/chapter06/sed.xml b/chapter06/sed.xml index aa6ac177c..9dee31ed2 100644 --- a/chapter06/sed.xml +++ b/chapter06/sed.xml @@ -40,26 +40,14 @@ <sect2 role="installation"> <title>Installation of Sed</title> - <para>First fix an issue in the LFS environment and remove a failing test:</para> + <para>First fix an issue in the LFS environment:</para> -<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man -sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen> +<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man</userinput></screen> <para>Prepare Sed for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen> -<!-- - <variablelist> - <title>The meaning of the new configure option:</title> - <varlistentry> - <term><parameter>-i -htmldir</parameter></term> - <listitem> - <para>This sets the installation directory for the HTML documentation.</para> - </listitem> - </varlistentry> - </variablelist> ---> <para>Compile the package and generate the HTML documentation:</para> <screen><userinput remap="make">make @@ -67,7 +55,8 @@ make html</userinput></screen> <para>To test the results, issue:</para> -<screen><userinput remap="test">make check</userinput></screen> +<screen><userinput remap="test">chown -Rv tester . +su -c "PATH=$PATH make check"</userinput></screen> <para>Install the package and its documentation:</para> |