We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d4a02 commit e1434ccCopy full SHA for e1434cc
1 file changed
vmdetect/common_test.go
@@ -0,0 +1,10 @@
1
+package vmdetect
2
+
3
+import "testing"
4
5
+func TestCommonCheck(t *testing.T) {
6
+ inVM, msg := CommonChecks()
7
+ if inVM && msg != "nothing" {
8
+ t.Errorf("inside vm but got %s, expect else", msg)
9
+ }
10
+}
0 commit comments