aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-08-18 23:14:29 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-08-19 10:29:10 -0400
commitfb14452c6cadb8d977c405dddb0a94115250d7c4 (patch)
tree15bee02d3211d2043b2f5b390ee19745b79bbc6a /src/test/data
parentd789386371699fee14bb5e444507a6067293ff67 (diff)
bitcoin-tx: Accept input via stdin. Add input handling to tests.
Diffstat (limited to 'src/test/data')
-rw-r--r--src/test/data/bitcoin-util-test.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/data/bitcoin-util-test.json b/src/test/data/bitcoin-util-test.json
index af29fd75a5..16bcb44898 100644
--- a/src/test/data/bitcoin-util-test.json
+++ b/src/test/data/bitcoin-util-test.json
@@ -1,5 +1,9 @@
[
{ "exec": ["./bitcoin-tx", "-create"],
"output_cmp": "blanktx.hex"
+ },
+ { "exec": ["./bitcoin-tx", "-"],
+ "input": "blanktx.hex",
+ "output_cmp": "blanktx.hex"
}
]