make the test-suite use the just built library

... instead of the system one
This commit is contained in:
Kamil Dudka 2020-08-31 17:47:04 +02:00
parent 350464f507
commit 1a62a26c8d
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ defined in POSIX 1003.1e draft standard 17.
%make_build
%check
# make the test-suite use the just built library (instead of the system one)
export LD_LIBRARY_PATH="${RPM_BUILD_ROOT}%{_libdir}:${LD_LIBRARY_PATH}"
if ./setfacl -m "u:$(id -u):rwx" .; then
if test 0 = "$(id -u)"; then
# test/root/permissions.test requires the 'daemon' user to be a member