all.sh: Generate seedfile for crypto submodule tests

When running tests from the crypto submodule, generate and use a
seedfile within the crypto/tests directory.
This commit is contained in:
Jaeden Amero 2019-03-18 16:31:21 +00:00
parent 57f4d9e4fe
commit 9714510736

View File

@ -406,6 +406,9 @@ pre_check_seedfile () {
if [ ! -f "./tests/seedfile" ]; then if [ ! -f "./tests/seedfile" ]; then
dd if=/dev/urandom of=./tests/seedfile bs=32 count=1 dd if=/dev/urandom of=./tests/seedfile bs=32 count=1
fi fi
if [ ! -f "./crypto/tests/seedfile" ]; then
dd if=/dev/urandom of=./crypto/tests/seedfile bs=32 count=1
fi
} }
pre_setup_keep_going () { pre_setup_keep_going () {