mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
bash: add an explanation why use expect to run the test
This commit is contained in:
parent
590d255947
commit
d072573464
@ -73,7 +73,10 @@
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
|
||||
|
||||
<para>Now, run the tests as the <systemitem
|
||||
<para>The testsuite of the package is designed to be ran as a non-root
|
||||
user, owning the terminal connected to standard input. To satisify the
|
||||
requirement, spawn a new pseudoterminal using
|
||||
<application>Expect</application> and run the tests as the <systemitem
|
||||
class="username">tester</systemitem> user:</para>
|
||||
|
||||
<screen><userinput remap="test">su -s /usr/bin/expect tester << EOF
|
||||
|
Loading…
Reference in New Issue
Block a user