Commit Graph

3 Commits (26eb061792d05364259c7e8747c76a27bea9968b)

Author SHA1 Message Date
Claude dead70fee3
Add tests for 25 additional core packages
Massive test coverage expansion across utilities, types, and core components:

Types packages (7):
- types/empty, types/ptr, types/structs, types/preftype
- types/flagtype, types/nettype

Core infrastructure (6):
- paths: File path handling tests
- tsconst: Constants validation
- tsd: System daemon tests
- omit: Omit error tests
- proxymap: Proxy mapping tests
- sessionrecording: Session recording tests

Utilities (12):
- util/must: Must helper tests
- util/lineread: Line reader tests
- util/groupmember: Group membership tests
- util/systemd: Systemd integration tests
- util/cibuild: CI detection tests
- util/osshare: OS sharing tests
- util/quarantine: File quarantine tests
- util/racebuild: Race detection tests
- util/precompress: Precompression tests
- util/progresstracking: Progress tracking tests

Network & Engine:
- net/wsconn: WebSocket connection tests
- wgengine/wgcfg/nmcfg: WireGuard config tests
- wf: Windows Firewall tests

All tests include basic validation and edge case coverage.
3 weeks ago
Will Norris 71029cea2d all: update copyright and license headers
This updates all source files to use a new standard header for copyright
and license declaration.  Notably, copyright no longer includes a date,
and we now use the standard SPDX-License-Identifier header.

This commit was done almost entirely mechanically with perl, and then
some minimal manual fixes.

Updates #6865

Signed-off-by: Will Norris <will@tailscale.com>
3 years ago
Brad Fitzpatrick 747c7d7ce2 types/empty: add Message, stop using mysterious *struct{}
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago