check: simple Makefile target.

This makes it much easier to run all the test scripts.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-09-29 17:02:02 +09:30
parent 1ac08e3b11
commit 845d09ce68
4 changed files with 31 additions and 12 deletions

View File

@@ -26,8 +26,3 @@ scripts/generate-block.sh init
A1=`scripts/get-new-address.sh`
TX=`$CLI sendmany "" "{ \"$A1\":0.01 }"`
scripts/generate-block.sh
# Find the inputs number corresponding to that 0.01 btc out
echo "Argument to test.sh:"
for i in $(seq 1 $($CLI listunspent | grep -c txid) ); do scripts/getinput.sh $i | grep -q "$TX.*/1000000/" && echo -n "$i "; done
echo