summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-12-09 21:26:48 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2021-12-09 21:26:48 +0100
commit1cef5fc2744d2428f28976c7adb0f476d8bc3bcf (patch)
tree89633b5f3778865e0f9348d37442f63ccec11811 /test
parentd9ddd8746ca83f361ec7ffb9f7146f6a23553b93 (diff)
Network: ignore packets sent by ourselves
Diffstat (limited to 'test')
-rw-r--r--test/attach.test2
-rw-r--r--test/discovery.test2
-rw-r--r--test/sync.test2
3 files changed, 0 insertions, 6 deletions
diff --git a/test/attach.test b/test/attach.test
index 0c97fb1..4e2238e 100644
--- a/test/attach.test
+++ b/test/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/test/discovery.test b/test/discovery.test
index 26e8eaf..aba6b15 100644
--- a/test/discovery.test
+++ b/test/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
diff --git a/test/sync.test b/test/sync.test
index 1b243c2..2480ce9 100644
--- a/test/sync.test
+++ b/test/sync.test
@@ -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