diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-10-30 22:58:13 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-10-31 00:05:55 -0400 |
commit | 7667850dbfac0ced6eb2711d922c263b65ffaeee (patch) | |
tree | 9dcf60c45bfc3963dcddd5a2829e1514dd3aaaa0 /qa/pull-tester/run-bitcoin-cli | |
parent | fa7f8cdc1ac92047cd876d750851cf4230fc8295 (diff) | |
download | bitcoin-7667850dbfac0ced6eb2711d922c263b65ffaeee.tar.xz |
tests: replace the old (unused since Travis) tests with new rpc test scripts
Diffstat (limited to 'qa/pull-tester/run-bitcoin-cli')
-rwxr-xr-x | qa/pull-tester/run-bitcoin-cli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qa/pull-tester/run-bitcoin-cli b/qa/pull-tester/run-bitcoin-cli new file mode 100755 index 0000000000..93c25bb9fc --- /dev/null +++ b/qa/pull-tester/run-bitcoin-cli @@ -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//' |