diff --git a/cmd/tailscaled/tailscaled_test.go b/cmd/tailscaled/tailscaled_test.go new file mode 100644 index 000000000..1bba6bf2b --- /dev/null +++ b/cmd/tailscaled/tailscaled_test.go @@ -0,0 +1,13 @@ +// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package main // import "tailscale.com/cmd/tailscaled" + +import "testing" + +func TestNothing(t *testing.T) { + // This test does nothing on purpose, so we can run + // GODEBUG=memprofilerate=1 go test -v -run=Nothing -memprofile=prof.mem + // without any errors about no matching tests. +}