Skip to content

Conversation

jnewbery
Copy link
Contributor

If the output_cmp file is empty, then bitcoin-util-test.py will pass the test without comparing its output to the expected output. This PR makes the test case fail if the output_cmp file is empty.

This PR also fixes the txcreate2.json file so it's no longer empty (and is therefore actually testing something!)

@maflcko
Copy link
Member

maflcko commented Sep 29, 2016

utACK da94697

@laanwj
Copy link
Member

laanwj commented Sep 29, 2016

utACK da94697

@maflcko maflcko added this to the 0.13.1 milestone Sep 29, 2016
@laanwj laanwj merged commit da94697 into bitcoin:master Sep 30, 2016
laanwj added a commit that referenced this pull request Sep 30, 2016
…mpty

da94697 bitcoin-util-test.py should fail if the output file is empty (jnewbery)
@jnewbery jnewbery deleted the bitcoin-tx-no-empty-outputs branch September 30, 2016 12:50
maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Oct 3, 2016
codablock pushed a commit to codablock/dash that referenced this pull request Jan 12, 2018
…le is empty

da94697 bitcoin-util-test.py should fail if the output file is empty (jnewbery)
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Nov 11, 2018
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…le is empty

da94697 bitcoin-util-test.py should fail if the output file is empty (jnewbery)
zkbot added a commit to zcash/zcash that referenced this pull request Nov 9, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants