mirror of
https://github.com/lightninglabs/faraday.git
synced 2026-08-13 12:33:35 +02:00
This commit adds an itest setup which can be used to test faraday's rpc. The setup is largely copied from our existing loop server itests.
23 lines
410 B
Bash
Executable file
23 lines
410 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Exit from script if error was raised.
|
|
set -e
|
|
|
|
# Set exit code of this script to the exit code of the last program to exit
|
|
# non-zero. Otherwise failures in programs that are piped into another program
|
|
# are ignored.
|
|
set -o pipefail
|
|
|
|
source util.sh
|
|
|
|
echo "Running integration test $@"
|
|
|
|
start_bitcoind
|
|
start_lnds
|
|
|
|
cd $WORKDIR
|
|
./itest.test -test.run=$@
|
|
|
|
stop_all
|
|
|
|
echo "Integration test $@ passed"
|