Changeset 118b207 for chapter08/bash.xml


Ignore:
Timestamp:
07/21/2021 03:48:24 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
cfb8eea
Parents:
4d7d2c04 (diff), 2a277fb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/bash.xml

    r4d7d2c04 r118b207  
    7474<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
    7575
    76     <para>Now, run the tests as the <systemitem
     76    <para>The testsuite of the package is designed to be run as a non-root
     77    user that owns the terminal connected to standard input.  To satisfy the
     78    requirement, spawn a new pseudo terminal using
     79    <application>Expect</application> and run the tests as the <systemitem
    7780    class="username">tester</systemitem> user:</para>
    7881
    79 <screen><userinput remap="test">su tester &lt;&lt; EOF
    80 PATH=$PATH make tests &lt; $(tty)
     82<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
     83set timeout -1
     84spawn make tests
     85expect eof
     86lassign [wait] _ _ _ value
     87exit $value
    8188EOF</userinput></screen>
    8289
Note: See TracChangeset for help on using the changeset viewer.