You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brad Fitzpatrick
3d9e3a17fa
tstest/natlab/vnet: move some boilerplate to mkPacket helper
...
No need to make callers specify the redundant IP version or
TTL/HopLimit or EthernetType in the common case. The mkPacket helper
can set those when unset.
And use the mkIPLayer in another place, simplifying some code.
And rename mkPacketErr to just mkPacket, then move mkPacket to
test-only code, as mustPacket.
Updates #13038
Change-Id: Ic216e44dda760c69ab9bfc509370040874a47d30
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
archtest
all: cleanup unused code, part 1 ( #10661 )
2 years ago
deptest
tstest/deptest: fix minor escaping error in regex
2 years ago
integration
tstest/integration: add UDP netstack loopback integration test ( #13312 )
2 years ago
iosdeps
all: do not depend on the testing package
2 years ago
jsdeps
all: use math/rand/v2 more
2 years ago
natlab
tstest/natlab/vnet: move some boilerplate to mkPacket helper
2 years ago
nettest
cmd/derper,tstest/nettest: skip network-needing test in airplane mode
2 years ago
tailmac
tstest/natlab: add unix address to writer for dgram mode
2 years ago
tools
go.{mod,sum},tstest/tools,k8s-operator,cmd/k8s-operator: autogenerate CRD API docs ( #12884 )
2 years ago
allocs.go
all: update copyright and license headers
3 years ago
clock.go
tstime: add Since method ( #8622 )
3 years ago
clock_test.go
all: use Go 1.22 range-over-int
2 years ago
log.go
wgengine/magicsock: disable portmapper in tunchan-faked tests
2 years ago
log_test.go
all: update copyright and license headers
3 years ago
resource.go
all: use Go 1.22 range-over-int
2 years ago
tstest.go
ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key
3 years ago
tstest_test.go
tstest: add method to Replace values for tests
3 years ago