test: test commands during commit phase.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-05-26 15:25:25 +09:30
parent 4110376e87
commit 889db659c5
3 changed files with 84 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
# Test changes after committing but before receiving revocation.
A:offer 1
B:recvoffer
A:commit
A:offer 3
# Now B receives that commitment and counter-commits.
B:recvcommit
B:commit
A:recvrevoke
A:recvcommit
A:commit
B:recvoffer
B:recvrevoke
B:recvcommit
B:commit
A:recvrevoke
A:recvcommit
B:recvrevoke
checksync
echo ***A***
A:dump
echo ***B***
B:dump