Changeset a3260cbb


Ignore:
Timestamp:
05/31/2020 05:33:35 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
0e9723a
Parents:
5a430f1
Message:

Fixes for bash tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11881 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r5a430f1 ra3260cbb  
    4444    -->
    4545    <listitem>
     46      <para>2020-05-31</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Fix bash tests: add a couple of symlinks
     50          from /bin to /tools, create the tester user with the uid of
     51          the tty owner, run the bash tests with su &lt;&lt; EOF, and
     52          explicitely defining stdin (with help from thomas and bdubbs).</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
     57    <listitem>
    4658      <para>2020-05-29</para>
    4759      <itemizedlist>
  • chapter06/bash.xml

    r5a430f1 ra3260cbb  
    8181    class="username">tester</systemitem> user:</para>
    8282
    83 <screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
     83<screen><userinput remap="test">su tester &lt;&lt; EOF
     84PATH=$PATH make tests &lt; $(tty)
     85EOF</userinput></screen>
    8486
    8587    <para>The <systemitem class="username">tester</systemitem>
  • chapter06/coreutils.xml

    r5a430f1 ra3260cbb  
    117117    user <systemitem class="username">tester</systemitem> a part of it:</para>
    118118
    119 <screen><userinput remap="test">echo "dummy:x:1000:tester" &gt;&gt; /etc/group</userinput></screen>
     119<screen><userinput remap="test">echo "dummy:x:102:tester" &gt;&gt; /etc/group</userinput></screen>
    120120
    121121    <para>Fix some of the permissions so that the non-root user can compile and
  • chapter06/createfiles.xml

    r5a430f1 ra3260cbb  
    4040  software has been installed:</para>
    4141
    42 <screen><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,ln,mkdir,pwd,rm,stty,touch} /bin
     42<screen><userinput>ln -sv /tools/bin/{bash,cat,chmod,dd,echo,false,ln,ls,mkdir,pwd,rm,stty,touch} /bin
    4343ln -sv /tools/bin/{env,install,perl,printf}         /usr/bin
    4444ln -sv /tools/lib/libgcc_s.so{,.1}                  /usr/lib
     
    335335  user here and delete this account at the end of the chapter.</para>
    336336
    337 <screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
     337<screen><userinput>echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
    338338echo "tester:x:101:" &gt;&gt; /etc/group
    339339install -o tester -d /home/tester</userinput></screen>
  • general.ent

    r5a430f1 ra3260cbb  
    1 <!ENTITY version         "SVN-20200529">
     1<!ENTITY version         "SVN-20200531">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200529-systemd">
     6<!ENTITY versiond        "20200531-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "May 29th, 2020">
     10<!ENTITY releasedate     "May 31st, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.