mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-08 23:19:31 +00:00
bash: Really pass through the return code
We want expect to return the return code of "make test" (stored in $value), but $value is expanded too early to nothing by Bash. Quote EOF so Bash won't expand $xxx.
This commit is contained in:
parent
1fde756b12
commit
4816dc69f5
@ -83,7 +83,7 @@
|
||||
<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
|
||||
<screen><userinput remap="test">su -s /usr/bin/expect tester << "EOF"
|
||||
set timeout -1
|
||||
spawn make tests
|
||||
expect eof
|
||||
|
Loading…
Reference in New Issue
Block a user