aboutsummaryrefslogtreecommitdiffstats
path: root/device/device_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: update header comments and modulesJason A. Donenfeld2020-05-021-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tuntest: split out testing packageDavid Crawshaw2020-05-021-141/+5
| | | | | | This code is useful to other packages writing tests. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
* device: test packets between two fake devicesDavid Crawshaw2019-10-161-29/+199
| | | | Signed-off-by: David Crawshaw <crawshaw@tailscale.io>
* device: use bytes.Equal for equality check, simplify assertEqualMatt Layher2019-06-041-2/+2
| | | | Signed-off-by: Matt Layher <mdlayher@gmail.com>
* device, tun: rearrange code and fix device testsMatt Layher2019-05-291-10/+30
| | | | Signed-off-by: Matt Layher <mdlayher@gmail.com>
* global: begin modularizationJason A. Donenfeld2019-03-031-0/+48