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

@@ -2,17 +2,17 @@
if grep -q ^FEATURES.*ALPHA ../Makefile; then
STYLE=alpha
DATADIR=$HOME/.alpha
DATADIR=/tmp/alpha-lightning
REGTESTDIR=alpharegtest
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0"
DAEMON="alphad -datadir=$DATADIR -regtest -testnet=0 -walletbroadcast=1"
CLI="alpha-cli -datadir=$DATADIR"
DAEMON="alphad -datadir=$DATADIR"
SEQ_ENFORCEMENT=true
else
STYLE=bitcoin
CLI="bitcoin-cli -regtest -testnet=0"
DATADIR=$HOME/.bitcoin
DATADIR=/tmp/bitcoin-lightning
CLI="bitcoin-cli -datadir=$DATADIR"
REGTESTDIR=regtest
DAEMON="bitcoind -regtest -testnet=0 -walletbroadcast=1"
DAEMON="bitcoind -datadir=$DATADIR"
if grep ^FEATURES ../Makefile | cut -d'#' -f1 | grep -q BIP68; then
SEQ_ENFORCEMENT=true
else