diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2021-12-09 21:26:48 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2021-12-09 21:26:48 +0100 |
commit | 9bf7460f446c8fbb153a9a375ac6f709578241ae (patch) | |
tree | dbd25ddc1489c03cdb67b8725dc4ad4d7e25536d | |
parent | 982020325ae7242127c7e95061052e2cbd7c02bb (diff) |
(test) Network: ignore packets sent by ourselves
-rw-r--r-- | attach.test | 2 | ||||
-rw-r--r-- | discovery.test | 2 | ||||
-rw-r--r-- | sync.test | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/attach.test b/attach.test index 0c97fb1..4e2238e 100644 --- a/attach.test +++ b/attach.test @@ -9,9 +9,7 @@ test: send "start-server" to p2 expect /local-identity Device1 Owner/ from p1 expect /local-identity Device2/ from p2 - expect /peer [0-9]+ 192.168.0.11:29665/ from p1 expect /peer [0-9]+ 192.168.0.12:29665/ from p1 - expect /peer [0-9]+ 192.168.0.12:29665/ from p2 expect /peer [0-9]+ 192.168.0.11:29665/ from p2 expect /peer [0-9]+ Device2 Device2/ from p1 expect /peer [0-9]+ Owner Device1/ from p2 diff --git a/discovery.test b/discovery.test index 26e8eaf..aba6b15 100644 --- a/discovery.test +++ b/discovery.test @@ -5,9 +5,7 @@ test: send "create-identity Device2" to p2 send "start-server" to p1 send "start-server" to p2 - expect /peer [0-9]+ 192.168.0.11:29665/ from p1 expect /peer [0-9]+ 192.168.0.12:29665/ from p1 - expect /peer [0-9]+ 192.168.0.12:29665/ from p2 expect /peer [0-9]+ 192.168.0.11:29665/ from p2 expect /peer [0-9]+ Device2 Device2/ from p1 expect /peer [0-9]+ Device1 Device1/ from p2 @@ -12,9 +12,7 @@ test: expect /local-identity Device1 Owner/ from p1 expect /local-identity Device2/ from p2 expect /shared-identity Owner/ from p1 - expect /peer [0-9]+ 192.168.0.11:29665/ from p1 expect /peer [0-9]+ 192.168.0.12:29665/ from p1 - expect /peer [0-9]+ 192.168.0.12:29665/ from p2 expect /peer [0-9]+ 192.168.0.11:29665/ from p2 expect /peer [0-9]+ Device2 Device2/ from p1 expect /peer [0-9]+ Owner Device1/ from p2 |