Print some information about filesystem

Let's check if the paths exist.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-08-09 17:04:11 +03:00
parent 456304e666
commit e737d33f2f
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 6 additions and 0 deletions

View File

@ -428,6 +428,12 @@ rm -rf $RPM_BUILD_ROOT/var/tmp
%if %{with check}
%check
echo "BUILDROOT: ${RPM_BUILD_ROOT}"
find ${RPM_BUILD_ROOT}
echo "END_BUILDROOT: ${RPM_BUILD_ROOT}"
find /
make check TESTSUITEFLAGS=-j%{_smp_build_ncpus} || (cat tests/rpmtests.log; exit 1)
# rpm >= 4.16.0 testsuite leaves a read-only tree behind, clean it up
make clean