diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-07-15 21:28:30 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-07-16 20:58:35 +0200 |
commit | a03a457538dd990db34c71facd92ea3173ff6025 (patch) | |
tree | f196668ea6f4ca56d587eabb0cf31323f225f534 /test/discovery.test | |
parent | 33add1fb412a9af173c10f8cdd957c3638d4df7f (diff) |
Test output stream opening and closing
Diffstat (limited to 'test/discovery.test')
-rw-r--r-- | test/discovery.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/discovery.test b/test/discovery.test index 4b48d8b..a297f54 100644 --- a/test/discovery.test +++ b/test/discovery.test @@ -124,7 +124,7 @@ test DiscoveryTunnel: for id in [ p1obase ]: for p in [ pd, p1, p2 ]: - send "start-server services $services" to p + send "start-server services $services test-log" to p for p in [ p1, p2 ]: with p: @@ -138,6 +138,11 @@ test DiscoveryTunnel: send "discovery-tunnel 1 $id" to p2 + expect /net-ostream-open ${pd.node.ip} 29665 1 1/ from p2 + expect /net-ostream-open ${p1.node.ip} 29665 1 1/ from pd + expect /net-ostream-open ${pd.node.ip} 29665 1 1/ from p1 + expect /net-ostream-open ${p2.node.ip} 29665 1 1/ from pd + expect from p1: /peer [0-9]+ addr tunnel@.*/ /peer [0-9]+ id Device2 Owner2/ |