Changes in chapter08/bash.xml [5809826:94862da]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/bash.xml
r5809826 r94862da 74 74 <screen><userinput remap="test">chown -Rv tester .</userinput></screen> 75 75 76 <para>Now, run the tests as the <systemitem 76 <para>The testsuite of the package is designed to be ran as a non-root 77 user, owning the terminal connected to standard input. To satisify the 78 requirement, spawn a new pseudoterminal using 79 <application>Expect</application> and run the tests as the <systemitem 77 80 class="username">tester</systemitem> user:</para> 78 81 79 <screen><userinput remap="test">su tester << EOF 80 PATH=$PATH make tests < $(tty) 82 <screen><userinput remap="test">su -s /usr/bin/expect tester << EOF 83 set timeout -1 84 spawn make tests 85 expect eof 86 lassign [wait] _ _ _ value 87 exit $value 81 88 EOF</userinput></screen> 82 89
Note:
See TracChangeset
for help on using the changeset viewer.