From 2703412a39c95c811a40c3fff6929e4ce59c3c62 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Wed, 29 Apr 2015 09:18:33 -0400 Subject: Fix default binary in p2p tests to use environment variable --- qa/rpc-tests/maxblocksinflight.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qa/rpc-tests/maxblocksinflight.py') diff --git a/qa/rpc-tests/maxblocksinflight.py b/qa/rpc-tests/maxblocksinflight.py index 4bfe203990..94535822d8 100755 --- a/qa/rpc-tests/maxblocksinflight.py +++ b/qa/rpc-tests/maxblocksinflight.py @@ -77,7 +77,8 @@ class TestManager(NodeConnCB): class MaxBlocksInFlightTest(BitcoinTestFramework): def add_options(self, parser): - parser.add_option("--testbinary", dest="testbinary", default="bitcoind", + parser.add_option("--testbinary", dest="testbinary", + default=os.getenv("BITCOIND", "bitcoind"), help="Binary to test max block requests behavior") def setup_chain(self): -- cgit v1.2.3