aboutsummaryrefslogtreecommitdiff
path: root/src/internal/sysinfo/sysinfo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/sysinfo/sysinfo_test.go')
-rw-r--r--src/internal/sysinfo/sysinfo_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/internal/sysinfo/sysinfo_test.go b/src/internal/sysinfo/sysinfo_test.go
new file mode 100644
index 0000000000..c2f1dd298e
--- /dev/null
+++ b/src/internal/sysinfo/sysinfo_test.go
@@ -0,0 +1,15 @@
+// Copyright 2023 The Go 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 sysinfo_test
+
+import (
+ . "internal/sysinfo"
+ "testing"
+)
+
+func TestCPUName(t *testing.T) {
+ t.Logf("CPUName: %s", CPUName())
+ t.Logf("osCpuInfoName: %s", XosCpuInfoName())
+}