check for hwrng device too

This commit is contained in:
Dan Horák 2017-01-17 13:32:01 +01:00
parent 2d708aec77
commit 553b3431df
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/libica.la
%check
# mock doesn't provide the device, so check here
# https://github.com/rpm-software-management/mock/issues/33
if [ -c /dev/prandom ]; then
if [ -c /dev/hwrng -o -c /dev/prandom ]; then
pushd src/tests
LD_LIBRARY_PATH=../.libs PATH=..:$PATH ./suite.run -v
cat suite.out