aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-07-19 21:39:13 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-07-19 21:39:13 +0800
commit94862dad6173cfd146f41cd1ca1b0149f8215451 (patch)
tree3dd31fc2c3e9f263a786d187a533b12de7bb61cd
parent7d88d57dd38aa281d8aca387dda64aa576ac8246 (diff)
bash: pass "make test" exitcode through expectxry111/tester-nohack
-rw-r--r--chapter08/bash.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index 275a63e68..5007c2d46 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -83,6 +83,8 @@
set timeout -1
spawn make tests
expect eof
+lassign [wait] _ _ _ value
+exit $value
EOF</userinput></screen>
<para>Install the package:</para>