43 Commits (524fb2c1908dc06b166f2a4fd2015d00b7d5ea92)

Author SHA1 Message Date
Filippo Valsorda 39f7a61e9c tstest/staticcheck: import the main package to fix "go mod tidy" 5 years ago
Josh Bleecher Snyder 138055dd70 tstest/natlab: use net.ErrClosed instead of a new error 5 years ago
Josh Bleecher Snyder e8cd7bb66f tstest: simplify goroutine leak tests 5 years ago
Josh Bleecher Snyder 18471a8792 ipn: close logger at the end of TestLocalLogLines 5 years ago
Brad Fitzpatrick fd2a30cd32 wgengine/magicsock: make test pass on Windows and without firewall dialog box 6 years ago
Josh Bleecher Snyder e1596d655a tstest: skip resource check when test has failed 6 years ago
Josh Bleecher Snyder 2e40c4b564 tstest: don't log on success 6 years ago
Brad Fitzpatrick 7fddc33481 tstest: make LogLineTracker pass variadic format args through 6 years ago
Brad Fitzpatrick 68c42530e9 tstest: rename LogListener to LogLineTracker 6 years ago
David Crawshaw 3baa084548 tstest: take testing.TB in helper for benchmarks 6 years ago
Wendi Yu a3fb422a39
ipn: tag and test for grinder log lines (#711) 6 years ago
David Anderson f794493b4f wgengine/magicsock: explicitly check path discovery, add a firewall test. 6 years ago
David Anderson 5a370d545a tstest/natlab: drop packets that can't be routed in a LAN. 6 years ago
David Anderson 45578b47f3 tstest/natlab: refactor PacketHandler into a larger interface. 6 years ago
David Anderson 23123907c0 tstest/natlab: add a configurable SNAT44 translator. 6 years ago
David Anderson 39ecb37fd6 tstest/natlab: support different firewall selectivities. 6 years ago
David Anderson 88e8456e9b wgengine/magicsock: add a connectivity test for facing firewalls. 6 years ago
David Anderson b3d65ba943 tstest/natlab: refactor, expose a Packet type. 6 years ago
David Anderson 5eedbcedd1 tstest/natlab: add a stateful firewall. 6 years ago
David Anderson 0ed9f62ed0 tstest/natlab: provide inbound interface to HandlePacket. 6 years ago
Brad Fitzpatrick 6c74065053 wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 6 years ago
Brad Fitzpatrick 7883e5c5e7 go.mod: restore staticcheck module, make it stick around, go mod tidy 6 years ago
David Anderson 0aea087766 tstest/natlab: add PacketHandler and Inject. 6 years ago
David Anderson 73db7e99ab tstest/natlab: make Machine constructible directly. 6 years ago
David Anderson d94593e884 tstest/natlab: unregister conn4 if registration of conn6 fails. 6 years ago
David Anderson d7bc4ec029 tstest/natlab: use common helper for conn registration. 6 years ago
David Anderson 80a14c49c6 tstest/natlab: add comments to conns4/conns6. 6 years ago
David Anderson c53b154171 tstest/natlab: use &Network in test. 6 years ago
David Anderson 622c0d0cb3 tstest/natlab: print trace data when NATLAB_TRACE is set. 6 years ago
David Anderson 1d4f9852a7 tstest/natlab: correctly handle dual-stacked PacketConns. 6 years ago
David Anderson 771eb05bcb tstest/natlab: first network attached becomes the default route. 6 years ago
David Anderson f2e5da916a tstest/natlab: allow sensible default construction of networks. 6 years ago
Brad Fitzpatrick 97910ce712 tstest/natlab: remove unused PacketConner type 6 years ago
Brad Fitzpatrick 14b4213c17 tstest/natlab: add missing tests from earlier commits 6 years ago
Brad Fitzpatrick 3f4f1cfe66 tstest/natlab: basic NAT-free packet delivery works 6 years ago
Brad Fitzpatrick a477e70632 tstest/natlab: network address allocation 6 years ago
Brad Fitzpatrick bb1a9e4700 tstest/natlab: bit more of in-memory network testing package 6 years ago
Brad Fitzpatrick 23c93da942 tstest/natlab: start of in-memory network testing package 6 years ago
Brad Fitzpatrick 5ec7ac1d02 tstest: document PanicOnLog 6 years ago
Avery Pennarun 4f128745d8 magicsock/test: oops, fix a data race in nested-test logf hack. 6 years ago
Avery Pennarun 08acb502e5 Add tstest.PanicOnLog(), and fix various problems detected by this. 6 years ago
Avery Pennarun e0b666c5d2 tstest.ResourceCheck: clarify success message. 6 years ago
David Anderson 0038223632 tstest: rename from testy. 6 years ago