test: don't reply on specific bitcoin.conf settings.

I changed mine off regtest, and "make check" broke.  Fix that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-03-15 17:08:42 +10:30
parent 8f2e66089b
commit 6410b0ac9c
3 changed files with 19 additions and 11 deletions

View File

@@ -8,7 +8,15 @@ if $CLI getinfo 2>/dev/null; then
fi
# Start clean
rm -rf $DATADIR/$REGTESTDIR
rm -rf $DATADIR
mkdir $DATADIR
# Create appropriate config file so cmdline matches.
cat > $DATADIR/bitcoin.conf <<EOF
regtest=1
testnet=0
walletbroadcast=0
EOF
$DAEMON &
i=0