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:
Xi Ruoyao 2021-07-19 21:29:20 +08:00
parent 2d30be476b
commit 7d88d57dd3
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -80,7 +80,9 @@
class="username">tester</systemitem> user:</para>
<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
spawn make tests; expect eof;
set timeout -1
spawn make tests
expect eof
EOF</userinput></screen>
<para>Install the package:</para>