util-linux: fix TEST. (#3345)

This commit is contained in:
fbrosson
2018-11-08 15:39:38 +00:00
parent 89d4788867
commit a0e485da8a
2 changed files with 55 additions and 1 deletions

View File

@@ -226,5 +226,8 @@ INSTALL()
TEST()
{
make check
# Set TS_OPTS="" otherwise "--nonroot" is passed to tests/run.sh which
# then returns "Ignore util-linux test suite [non-root UID expected]."
LIBRARY_PATH="$sourceDir/.libs${LIBRARY_PATH:+:$LIBRARY_PATH}" \
make check TS_OPTS=
}