diff --git a/daemon/test/test.sh b/daemon/test/test.sh index 52e217516..bb7047695 100755 --- a/daemon/test/test.sh +++ b/daemon/test/test.sh @@ -172,18 +172,33 @@ all_ok() trap "echo Results in $DIR1 and $DIR2 >&2; cat $DIR1/errors $DIR2/errors >&2" EXIT mkdir $DIR1 $DIR2 + +cat > $DIR1/config < $DIR2/config <&2 read REPLY else - $PREFIX ../lightningd --log-level=debug --bitcoind-poll=1 --min-expiry=900 --lightning-dir=$DIR1 --bitcoin-datadir=$DATADIR > $REDIR1 2> $REDIRERR1 & + $PREFIX ../lightningd --lightning-dir=$DIR1 > $REDIR1 2> $REDIRERR1 & fi if [ -n "$GDB2" ]; then - echo Press return once you run: gdb --args daemon/lightningd --log-level=debug --bitcoind-poll=1 --min-expiry=900 --lightning-dir=$DIR2 --bitcoin-datadir=$DATADIR + echo Press return once you run: gdb --args daemon/lightningd --lightning-dir=$DIR2 >&2 read REPLY else - $PREFIX ../lightningd --log-level=debug --bitcoind-poll=1 --min-expiry=900 --lightning-dir=$DIR2 --bitcoin-datadir=$DATADIR > $REDIR2 2> $REDIRERR2 & + $PREFIX ../lightningd --lightning-dir=$DIR2 > $REDIR2 2> $REDIRERR2 & fi i=0