diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-11-03 09:22:38 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-11-03 09:23:17 +0100 |
commit | 2a6972133f07382d13e08edc9c2e6c231689b2db (patch) | |
tree | 70dd887ead3967e1da0da825f3cb2af179ed1222 /qa/pull-tester/run-bitcoin-cli | |
parent | 7a9356bf16d3e21b99ce6badc88f949679f8e846 (diff) | |
parent | 2191eac812a72fe57167be882bddd2e6a3f0340e (diff) |
Merge pull request #5185
2191eac add tests to travis (Cory Fields)
7667850 tests: replace the old (unused since Travis) tests with new rpc test scripts (Cory Fields)
fa7f8cd tests: remove old pull-tester scripts (Cory Fields)
5122ea7 tests: fix forknotify.py on windows (Cory Fields)
7a41614 tests: allow rpc-tests to get filenames for bitcoind and bitcoin-cli from the environment (Cory Fields)
f635269 tests: enable alertnotify test for Windows (Cory Fields)
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//' |