From: Ian Jackson Date: Fri, 11 Oct 2019 20:43:54 +0000 (+0100) Subject: test: expect initial ping packet to come back on inside, for now X-Git-Tag: v0.5.0~123 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7be056e55c5c748bd14491cebe33e99afa28c723;p=secnet.git test: expect initial ping packet to come back on inside, for now We are pinging the remote secnet, which responds without sending the packet to its host (ie, "outside.r" in our terms). We can improve this later if we care. Signed-off-by: Ian Jackson --- diff --git a/test/invoke b/test/invoke index 7182d13..2fbba6e 100755 --- a/test/invoke +++ b/test/invoke @@ -113,12 +113,12 @@ proc netlink-readable {which} { upvar #0 netlinkfh($which.r) fh read $fh; # empty the buffer switch -exact $which { - outside { + inside { puts OK set ok 1; # what a bodge return } - inside { + outside { error "inside rx'd!" } }