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/ipn
James Tucker 095d3edd33 ipn/ipnlocal: reenable profile tests on Windows
This fix does not seem ideal, but the test infrastructure using a local
goos doesn't seem to avoid all of the associated challenges, but is
somewhat deeply tied to the setup.

The core issue this addresses for now is that when run on Windows there
can be no code paths that attempt to use an invalid UID string, which on
Windows is described in [1].

For the goos="linux" tests, we now explicitly skip the affected
migration code if runtime.GOOS=="windows", and for the Windows test we
explicitly use the running users uid, rather than just the string
"user1". We also now make the case where a profile exists and has
already been migrated a non-error condition toward the outer API.

Updates #7876

[1] https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers

Signed-off-by: James Tucker <jftucker@gmail.com>
3 years ago
..
ipnauth all: update copyright and license headers 3 years ago
ipnlocal ipn/ipnlocal: reenable profile tests on Windows 3 years ago
ipnserver all: avoid repeated default interface lookups 3 years ago
ipnstate cmd/tailscale: surface node-key for locked out tailnet-lock peers 3 years ago
localapi all: avoid repeated default interface lookups 3 years ago
policy ipn: prefer allow/denylist terminology 3 years ago
store ipn/store/awsstore: persist state with intelligent tiering 3 years ago
backend.go all: update copyright and license headers 3 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go all: update copyright and license headers 3 years ago
ipn_view.go all: update copyright and license headers 3 years ago
prefs.go all: update copyright and license headers 3 years ago
prefs_test.go all: update copyright and license headers 3 years ago
serve.go cmd/tailscale/cli: do not allow turning Funnel on while shields-up (#7770) 3 years ago
serve_test.go ipn: add Funnel port check from nodeAttr 3 years ago
store.go ipn/store: add support for stores to hook into a custom dialer 3 years ago