You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstest
Brad Fitzpatrick 01e159b610 ipn/ipnlocal: save prefs to disk on UpdatePrefs
Regression from 6d10655dc3, which added
UpdatePrefs but didn't write it out to disk.

I'd planned on adding tests to state_test.go which is why I'd earlier
added 46896a9311 to prepare for making
such persistence tests easier to write, but turns out state_test.go
didn't even test UpdatePrefs, so I'm staying out of there.
Instead, this is tested using integration tests.

Fixes #2321

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
integration ipn/ipnlocal: save prefs to disk on UpdatePrefs 4 years ago
natlab staticcheck.conf: turn off noisy lint errors 5 years ago
staticcheck tstest/staticcheck: import the main package to fix "go mod tidy" 5 years ago
clock.go tstest/natlab: add a stateful firewall. 5 years ago
log.go types/logger: add key grinder stats lines to rate-limiting exemption list 5 years ago
log_test.go tstest: rename LogListener to LogLineTracker 5 years ago
resource.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 5 years ago
tstest.go tstest: add WaitFor helper 5 years ago