Create empty zcash.conf during coverage checks

Fixes regression caused by #2013.
This commit is contained in:
Jack Grigg 2017-01-18 12:11:50 +01:00
parent 4d52160de3
commit 9847bc870d
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ ZCASH_LOAD_TIMEOUT=500
DATADIR="@abs_top_builddir@/.zcash"
rm -rf "$DATADIR"
mkdir -p "$DATADIR"/regtest
touch "$DATADIR/zcash.conf"
touch "$DATADIR/regtest/debug.log"
tail -q -n 1 -F "$DATADIR/regtest/debug.log" | grep -m 1 -q "Done loading" &
WAITER=$!