mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-07 21:26:41 +02:00
18 lines
356 B
Go
18 lines
356 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package winutil
|
|
|
|
import (
|
|
"strings"
|
|
"testing"
|
|
)
|
|
|
|
func TestMitigateSelf(t *testing.T) {
|
|
output := strings.TrimSpace(runTestProg(t, "testprocessattributes", "MitigateSelf"))
|
|
want := "OK"
|
|
if output != want {
|
|
t.Errorf("%s\n", strings.TrimPrefix(output, "error: "))
|
|
}
|
|
}
|