aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/bash.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/bash.xml')
-rw-r--r--chapter08/bash.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index bb0f2b0fb..99ee2e3f4 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -76,8 +76,8 @@
<para>Now, run the tests as the <systemitem
class="username">tester</systemitem> user:</para>
-<screen><userinput remap="test">su tester &lt;&lt; EOF
-PATH=$PATH make tests &lt; $(tty)
+<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
+spawn make tests; expect EOF;
EOF</userinput></screen>
<para>Install the package:</para>