mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user