Workaround of disabling the 4 tests in the 'script' component (which calls openpty() upfront and thus cause the failure) makes the test-suite finish successfully.
$ ./tests/run.sh \ --srcdir=/build/util-linux-kzgHhT/util-linux-2.27.1 \ --builddir=/build/util-linux-kzgHhT/util-linux-2.27.1 \ --parallel --nonroot --verbose \ --exclude='script/buffering-race script/options script/race script/replay'
...
""" All 166 tests PASSED """
Workaround of disabling the 4 tests in the 'script' component
(which calls openpty() upfront and thus cause the failure)
makes the test-suite finish successfully.
$ ./tests/run.sh \ /build/ util-linux- kzgHhT/ util-linux- 2.27.1 \ /build/ util-linux- kzgHhT/ util-linux- 2.27.1 \ 'script/ buffering- race script/options script/race script/replay'
--srcdir=
--builddir=
--parallel --nonroot --verbose \
--exclude=
...
"""
All 166 tests PASSED
"""