aboutsummaryrefslogtreecommitdiff
path: root/qa/pull-tester/rpc-tests.sh
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-11-19 15:36:10 -0500
committerGavin Andresen <gavinandresen@gmail.com>2014-11-19 15:36:10 -0500
commit8656dbb095bc392d8d348bb68124696a033997f8 (patch)
tree22a908a48c518c9f827668b35eb1e31718aab918 /qa/pull-tester/rpc-tests.sh
parentb5d1b1092998bc95313856d535c632ea5a8f9104 (diff)
Port/fix txnmall.sh regression test
Ported txnmall.sh to Python, and updated to match recent transaction malleability changes. I also modified it so it tests both double-spending confirmed and unconfirmed (only-in-mempool) transactions. Renamed to txn_doublespend, since that is really what is being tested. And told the pull-tester to run both variations on this test.
Diffstat (limited to 'qa/pull-tester/rpc-tests.sh')
-rwxr-xr-xqa/pull-tester/rpc-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/pull-tester/rpc-tests.sh b/qa/pull-tester/rpc-tests.sh
index 0b5ad20642..cc24a67c08 100755
--- a/qa/pull-tester/rpc-tests.sh
+++ b/qa/pull-tester/rpc-tests.sh
@@ -18,6 +18,8 @@ fi
if [ "x${ENABLE_BITCOIND}${ENABLE_UTILS}${ENABLE_WALLET}" = "x111" ]; then
${BUILDDIR}/qa/rpc-tests/wallet.sh "${BUILDDIR}/src"
${BUILDDIR}/qa/rpc-tests/listtransactions.py --srcdir "${BUILDDIR}/src"
+ ${BUILDDIR}/qa/rpc-tests/txn_doublespend.py --srcdir "${BUILDDIR}/src"
+ ${BUILDDIR}/qa/rpc-tests/txn_doublespend.py --mineblock --srcdir "${BUILDDIR}/src"
#${BUILDDIR}/qa/rpc-tests/forknotify.py --srcdir "${BUILDDIR}/src"
else
echo "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled"