|
@@ -75,16 +75,17 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
|
|
|
|
|
|
<para>To prepare the tests, ensure that the locale
|
|
|
setting from our environment will be used and that the <systemitem
|
|
|
- class="username">nobody</systemitem> user can write to the sources tree:</para>
|
|
|
+ class="username">nobody</systemitem> user can read the standard input
|
|
|
+ device and write to the sources tree:</para>
|
|
|
|
|
|
<screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests
|
|
|
+sed -i 's@tests@& </dev/tty@' tests/run-test
|
|
|
chown -Rv nobody ./</userinput></screen>
|
|
|
|
|
|
<para>Now, run the tests as the <systemitem
|
|
|
- class="username">nobody</systemitem> user, ensuring that the standard
|
|
|
- input device is readable:</para>
|
|
|
+ class="username">nobody</systemitem> user:</para>
|
|
|
|
|
|
-<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" </dev/tty</userinput></screen>
|
|
|
+<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
|
|
|
|
|
|
<para>Install the package:</para>
|
|
|
|