From 9bf7460f446c8fbb153a9a375ac6f709578241ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Thu, 9 Dec 2021 21:26:48 +0100 Subject: (test) Network: ignore packets sent by ourselves --- attach.test | 2 -- discovery.test | 2 -- sync.test | 2 -- 3 files changed, 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 diff --git a/sync.test b/sync.test index 1b243c2..2480ce9 100644 --- a/sync.test +++ b/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 -- cgit v1.2.3