aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r--chapter06/bash.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index ae42cf4cb..4d06fc2a3 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -80,7 +80,9 @@
<para>Now, run the tests as the <systemitem
class="username">tester</systemitem> user:</para>
-<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
+<screen><userinput remap="test">su tester &lt;&lt; EOF
+PATH=$PATH make tests &lt; $(tty)
+EOF</userinput></screen>
<para>The <systemitem class="username">tester</systemitem>
user does not have enough permissions for all the tests to pass. This shows