mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-01 00:33:43 +00:00

This removes the dependency on syspolicy/... from LocalBackend and tailscaled when ts_omit_syspolicy is true. Updates #12614 Change-Id: I309deb0f50f8e7d6bc11454e4210bb3b358abc77 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
18 lines
403 B
Go
18 lines
403 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package posture
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"tailscale.com/types/logger"
|
|
"tailscale.com/util/syspolicy/policyclient"
|
|
)
|
|
|
|
func TestGetSerialNumber(t *testing.T) {
|
|
// ensure GetSerialNumbers is implemented
|
|
// or covered by a stub on a given platform.
|
|
_, _ = GetSerialNumbers(policyclient.NoPolicyClient{}, logger.Discard)
|
|
}
|