tailscale/tstest/integration
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>
2021-07-13 15:01:38 -07:00
..
testcontrol tstest/integration/testcontrol: add ipv6 support (#2394) 2021-07-13 13:10:08 -04:00
vms tstest/integration/vms: delete a log file i was using to debug the tests (#2416) 2021-07-13 15:37:30 -04:00
gen_deps.go tstest/integration: help bust cmd/go's test caching 2021-07-07 13:14:21 -07:00
integration_test.go ipn/ipnlocal: save prefs to disk on UpdatePrefs 2021-07-13 15:01:38 -07:00
integration.go tailcfg: break DERPNode.DERPTestPort into DERPPort & InsecureForTests 2021-07-09 12:30:31 -07:00
tailscaled_deps_test.go tstest/integration: help bust cmd/go's test caching 2021-07-07 13:14:21 -07:00