Work around a util-linux that can hang the tests.

If CONFIG_USER_NS or CONFIG_PID_NS are not set in the kernel, the tests will
hang forever. To work around the problem, delete one test.
This commit is contained in:
Bruce Dubbs 2021-07-10 23:16:21 -05:00
parent c519d4560a
commit 176404f5e2

View File

@ -95,6 +95,13 @@
<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
</warning>
<note><para>There is one test that depends on the configuration of the kernel.
If CONFIG_USER_NS or CONFIG_PID_NS are not set, the tests will hang forever.
To work around the problem, delete one test:</para>
<screen><userinput remap="test">rm tests/ts/lsns/ioctl_ns</userinput></screen>
</note>
<screen><userinput remap="test">chown -Rv tester .
su tester -c "make -k check"</userinput></screen>