mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
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
This commit is contained in:
parent
1f5a5864d2
commit
b51bb68cda
@ -42,6 +42,17 @@
|
|||||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||||
appropriate for the entry or if needed the entire day's listitem.
|
appropriate for the entry or if needed the entire day's listitem.
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>2020-05-29</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[bdubbs] - Run sed and findutils tests as an
|
||||||
|
unprivileged user. Fixes
|
||||||
|
<ulink url="&lfs-ticket-root;4661">#4661</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>2020-05-28</para>
|
<para>2020-05-28</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -67,10 +67,8 @@
|
|||||||
|
|
||||||
<para>To test the results, issue:</para>
|
<para>To test the results, issue:</para>
|
||||||
|
|
||||||
<screen><userinput remap="test">make check</userinput></screen>
|
<screen><userinput remap="test">chown -Rv tester .
|
||||||
|
su tester -c "PATH=$PATH make check"</userinput></screen>
|
||||||
<para>Two tests are known to fail in the chroot environment:
|
|
||||||
sv-bug-54171.old-O3 and sv-bug-54171.new-O3.</para>
|
|
||||||
|
|
||||||
<para>Install the package:</para>
|
<para>Install the package:</para>
|
||||||
|
|
||||||
|
@ -40,26 +40,14 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Sed</title>
|
<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
|
<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man</userinput></screen>
|
||||||
sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
|
|
||||||
|
|
||||||
<para>Prepare Sed for compilation:</para>
|
<para>Prepare Sed for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
<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>
|
<para>Compile the package and generate the HTML documentation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="make">make
|
<screen><userinput remap="make">make
|
||||||
@ -67,7 +55,8 @@ make html</userinput></screen>
|
|||||||
|
|
||||||
<para>To test the results, issue:</para>
|
<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>
|
<para>Install the package and its documentation:</para>
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!ENTITY version "SVN-20200528">
|
<!ENTITY version "SVN-20200529">
|
||||||
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
|
||||||
Change to x.y for release but not -rc releases -->
|
Change to x.y for release but not -rc releases -->
|
||||||
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
|
||||||
|
|
||||||
<!ENTITY versiond "20200528-systemd">
|
<!ENTITY versiond "20200529-systemd">
|
||||||
<!ENTITY short-versiond "systemd">
|
<!ENTITY short-versiond "systemd">
|
||||||
<!ENTITY generic-versiond "systemd">
|
<!ENTITY generic-versiond "systemd">
|
||||||
|
|
||||||
<!ENTITY releasedate "May 28th, 2020">
|
<!ENTITY releasedate "May 29th, 2020">
|
||||||
|
|
||||||
<!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – -->
|
<!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user