aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-05-15 22:56:49 +0800
committerXi Ruoyao <xry111@xry111.site>2023-05-15 22:56:49 +0800
commit70927b99641780d9a0fab2f2fe8e809dcd738a6c (patch)
tree2d5036e7bbd7722052c3de956f2b631d3c11b9db
parentcd8339aa0b995ff08744a572aa5aad79ef34b16e (diff)
gawk: Run the test suite as tester
One test named pma fails if running it as root.
-rw-r--r--chapter08/gawk.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index 192cc9f32..3e177948e 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -54,7 +54,8 @@
<para>To test the results, issue:</para>
-<screen><userinput remap="test">make check</userinput></screen>
+<screen><userinput remap="test">chown -Rv tester .
+su tester -c "PATH=$PATH make check"</userinput></screen>
<para>Install the package:</para>