Test for random device before running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21045 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -40,6 +40,8 @@ rsa="${TESTS_ENVIRONMENT} ./test_rsa"
|
||||
engine="${TESTS_ENVIRONMENT} ./test_engine_dso"
|
||||
rand="${TESTS_ENVIRONMENT} ./test_rand"
|
||||
|
||||
${engine} --test-random > /dev/null || { echo "missing random"; exit 77; }
|
||||
|
||||
${rsa} --key=${srcdir}/rsakey.der || \
|
||||
{ echo "rsa test failed" ; exit 1; }
|
||||
|
||||
|
Reference in New Issue
Block a user