mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-07 06:19:27 +01:00
6f5fed17d8
These use the same infrastructure as the daemon/test blackbox tests, so they're not currently wired into make check; use make "lightningd-blackbox-tests".
23 lines
356 B
Bash
Executable File
23 lines
356 B
Bash
Executable File
#! /bin/sh -e
|
|
|
|
# Wherever we are, we want to be in daemon/test dir.
|
|
cd `git rev-parse --show-toplevel`/daemon/test
|
|
|
|
. scripts/vars.sh
|
|
. scripts/helpers.sh
|
|
|
|
parse_cmdline 2 "$@"
|
|
setup_lightning 2
|
|
|
|
start_lightningd 2 lightningd/lightningd
|
|
|
|
# FIXME: Try to connect.
|
|
# lcli1 connect localhost $PORT2 $ID2
|
|
|
|
# FIXME: Check status.
|
|
|
|
lcli1 stop
|
|
lcli2 stop
|
|
|
|
all_ok
|