Browse Source

test_protocol: fix up expected test output.

Our implementation now displays things differently, so output changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 8 years ago
parent
commit
ba50776c47
  1. 20
      test/commits/01-offer1.script.expected
  2. 20
      test/commits/02-offer2.script.expected
  3. 16
      test/commits/03-fulfill1.script.expected
  4. 20
      test/commits/04-two-commits-onedir.script.expected
  5. 20
      test/commits/06-change-while-commit-outstanding.script.expected
  6. 24
      test/commits/10-offers-crossover.script.expected
  7. 24
      test/commits/11-commits-crossover.script.expected
  8. 16
      test/commits/13-fee.script.expected
  9. 16
      test/commits/14-fee-twice.script.expected

20
test/commits/01-offer1.script.expected

@ -1,22 +1,18 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 Our htlcs: 1
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: Our htlcs: 1
Received htlcs: 1
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: Their htlcs: 1
Received htlcs: 1
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 Their htlcs: 1
Received htlcs:
SIGNED SIGNED

20
test/commits/02-offer2.script.expected

@ -1,22 +1,18 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 3 Our htlcs: 1 3
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: Our htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: Their htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 3 Their htlcs: 1 3
Received htlcs:
SIGNED SIGNED

16
test/commits/03-fulfill1.script.expected

@ -1,22 +1,14 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs:
Received htlcs:
SIGNED SIGNED

20
test/commits/04-two-commits-onedir.script.expected

@ -1,22 +1,18 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 3 Our htlcs: 1 3
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: Our htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: Their htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 3 Their htlcs: 1 3
Received htlcs:
SIGNED SIGNED

20
test/commits/06-change-while-commit-outstanding.script.expected

@ -1,22 +1,18 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: 1 3 Our htlcs: 1 3
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: Our htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: Their htlcs: 1 3
Received htlcs: 1 3
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: 1 3 Their htlcs: 1 3
Received htlcs:
SIGNED SIGNED

24
test/commits/10-offers-crossover.script.expected

@ -1,22 +1,22 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 Our htlcs: 1
Received htlcs: 2 Their htlcs: 2
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: 2 Our htlcs: 1
Received htlcs: 1 Their htlcs: 2
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: 2 Our htlcs: 2
Received htlcs: 1 Their htlcs: 1
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs: 1 Our htlcs: 2
Received htlcs: 2 Their htlcs: 1
SIGNED SIGNED

24
test/commits/11-commits-crossover.script.expected

@ -1,22 +1,22 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: 1 Our htlcs: 1
Received htlcs: 2 Their htlcs: 2
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: 2 Our htlcs: 1
Received htlcs: 1 Their htlcs: 2
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 2: Commit 2:
Offered htlcs: 2 Our htlcs: 2
Received htlcs: 1 Their htlcs: 1
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 2: Commit 2:
Offered htlcs: 1 Our htlcs: 2
Received htlcs: 2 Their htlcs: 1
SIGNED SIGNED

16
test/commits/13-fee.script.expected

@ -1,24 +1,16 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
Fee level 1 Fee level 1
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
Fee level 1 Fee level 1
SIGNED SIGNED

16
test/commits/14-fee-twice.script.expected

@ -1,24 +1,16 @@
***A*** ***A***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
Fee level 2 Fee level 2
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
***B*** ***B***
LOCAL COMMITS: LOCAL COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
SIGNED SIGNED
REMOTE COMMITS: REMOTE COMMIT:
Commit 1: Commit 1:
Offered htlcs:
Received htlcs:
Fee level 2 Fee level 2
SIGNED SIGNED

Loading…
Cancel
Save