aboutsummaryrefslogtreecommitdiff
path: root/qa/pull-tester/rpc-tests.sh
diff options
context:
space:
mode:
authordexX7 <dexx@bitwatch.co>2015-03-23 18:16:07 +0100
committerdexX7 <dexx@bitwatch.co>2015-05-05 10:09:39 +0200
commita71ab10f99f1d5aed27c45ee51ce9295fa9e49f5 (patch)
treeb570789bf4d54aaf2054206f86891daa0d00ac24 /qa/pull-tester/rpc-tests.sh
parent8ac2a4e1788426329b842eea7121b8eac7875c76 (diff)
downloadbitcoin-a71ab10f99f1d5aed27c45ee51ce9295fa9e49f5.tar.xz
QA: add RPC tests for error reporting of "signrawtransaction"
Tests error reporting of transaction signing via RPC call "signrawtransaction". Expected results: Test 1: create and sign a valid raw transaction with one input: - 1) The transaction has a complete set of signatures - 2) No script verification error occurred Test 2: create and sign a raw transaction with one valid, one invalid and one missing input script: - 3) The transaction has no complete set of signatures - 4) Two script verification errors occurred - 5) Script verification errors have certain properties ("txid", "vout", "scriptSig", "sequence", "error") - 6) The verification errors refer to the invalid (vin 1) and missing input (vin 2)
Diffstat (limited to 'qa/pull-tester/rpc-tests.sh')
-rwxr-xr-xqa/pull-tester/rpc-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/pull-tester/rpc-tests.sh b/qa/pull-tester/rpc-tests.sh
index a2d4305f98..4f82263a7a 100755
--- a/qa/pull-tester/rpc-tests.sh
+++ b/qa/pull-tester/rpc-tests.sh
@@ -22,6 +22,7 @@ testScripts=(
'txn_doublespend.py'
'txn_doublespend.py --mineblock'
'getchaintips.py'
+ 'rawtransactions.py'
'rest.py'
'mempool_spendcoinbase.py'
'mempool_coinbase_spends.py'
@@ -29,7 +30,7 @@ testScripts=(
'zapwallettxes.py'
'proxy_test.py'
'merkle_blocks.py'
- 'rawtransactions.py'
+ 'signrawtransactions.py'
# 'forknotify.py'
'maxblocksinflight.py'
'invalidblockrequest.py'