tests: replace the old (unused since Travis) tests with new rpc test scripts

This commit is contained in:
Cory Fields
2014-10-30 22:58:13 -04:00
parent fa7f8cdc1a
commit 7667850dbf
7 changed files with 53 additions and 105 deletions

13
qa/pull-tester/run-bitcoin-cli Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# This is a thin wrapper around bitcoin-cli that strips the Windows-style EOLs
# from the output if present. It is necessary when using bitcoin-cli.exe on
# Linux since shells will interpret the line-endings as part of the result.
CURDIR=$(cd $(dirname "$0"); pwd)
# Get BUILDDIR and REAL_BITCOIND
# Grab the value of $REAL_BITCOINCLI which may be bitcoin-cli.exe.
. "${CURDIR}/tests-config.sh"
"${REAL_BITCOINCLI}" "$@" | sed 's/\r//'