mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
bash: disable timeout to prevent Expect from exiting early
The default timeout is only 10 seconds, where the bash tests won't complete on most systems. Then expect will exit early, with bash tests running in background. We won't like this.
This commit is contained in:
parent
2d30be476b
commit
7d88d57dd3
@ -80,7 +80,9 @@
|
||||
class="username">tester</systemitem> user:</para>
|
||||
|
||||
<screen><userinput remap="test">su -s /usr/bin/expect tester << EOF
|
||||
spawn make tests; expect eof;
|
||||
set timeout -1
|
||||
spawn make tests
|
||||
expect eof
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user