Implement machine fingerprint hashing (T-501)
This commit is contained in:
@@ -13,6 +13,9 @@ import (
|
||||
)
|
||||
|
||||
func TestPlatformStubFailsClosed(t *testing.T) {
|
||||
if _, err := MachineHash(); !errors.Is(err, ErrUnsupported) {
|
||||
t.Fatalf("MachineHash() error = %v, want ErrUnsupported", err)
|
||||
}
|
||||
platform := New()
|
||||
if _, err := platform.IsRunning("test-app", "C:/test/App.exe"); !errors.Is(err, ErrUnsupported) {
|
||||
t.Fatalf("IsRunning() error = %v, want ErrUnsupported", err)
|
||||
|
||||
Reference in New Issue
Block a user