From 9714510736fb178bb194ccf5f9c38dc2ad8de7db Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Mon, 18 Mar 2019 16:31:21 +0000 Subject: [PATCH] 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. --- tests/scripts/all.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 3f5d1d9f1..301dc52ee 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -406,6 +406,9 @@ pre_check_seedfile () { if [ ! -f "./tests/seedfile" ]; then dd if=/dev/urandom of=./tests/seedfile bs=32 count=1 fi + if [ ! -f "./crypto/tests/seedfile" ]; then + dd if=/dev/urandom of=./crypto/tests/seedfile bs=32 count=1 + fi } pre_setup_keep_going () {