mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
test.sh: move core routines to scripts/helpers.sh
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5,11 +5,6 @@
|
||||
VERSION=$(`dirname $0`/../../lightning-cli --version | head -n1)
|
||||
[ $VERSION = `git describe --always --dirty` ] || (echo Wrong version $VERSION >&2; exit 1)
|
||||
|
||||
if $CLI getinfo 2>/dev/null; then
|
||||
echo $DAEMON already running >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Start clean
|
||||
rm -rf $DATADIR
|
||||
mkdir $DATADIR
|
||||
|
||||
Reference in New Issue
Block a user