diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-03-02 23:36:09 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-03-05 10:57:09 +0800 |
commit | 07b44dd348e02b31ba67cdaed931cdaf770d572b (patch) | |
tree | 74d4c58db9dc0f63774cd05e31c31a92427e52e8 /chapter08 | |
parent | 770e78952755c89d4a68d22e5245a97438ffa089 (diff) |
make: Run test suite as unprivileged user
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/make.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter08/make.xml b/chapter08/make.xml index 180c6e591..80abcd128 100644 --- a/chapter08/make.xml +++ b/chapter08/make.xml @@ -49,9 +49,12 @@ <screen><userinput remap="make">make</userinput></screen> + <!-- Running tests as root causes failures: + https://savannah.gnu.org/bugs/?63852 --> <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> |