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:
Love Hörnquist Åstrand
2007-06-10 08:04:24 +00:00
parent 6f5e55c30a
commit c269f5b1c4

View File

@@ -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; }